mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-13 15:27:18 +00:00
Clean up some now-inaccurate comments.
This commit is contained in:
parent
e02d3b3bdf
commit
3657acf345
10
mlb-rsx.c
10
mlb-rsx.c
@ -165,16 +165,11 @@ DAMAGE.
|
||||
|
||||
#define WORD(cp) ((*(cp) & 0xff) + ((*((cp)+1) & 0xff) << 8))
|
||||
|
||||
/* BYTEPOS calculates the byte position within the macro libray file.
|
||||
I use this to sort the entries by their start position, in order to
|
||||
be able to calculate the entries' sizes, which isn't actually
|
||||
stored in the directory. */
|
||||
/* BYTEPOS calculates the byte position within the macro libray file. */
|
||||
|
||||
#define BYTEPOS(rec) (((WORD((rec)+4) & 32767) - 1) * BLOCKSIZE + \
|
||||
(WORD((rec)+6) & 511))
|
||||
|
||||
extern FILE *lstfile;
|
||||
|
||||
/* trim removes trailing blanks from a string. */
|
||||
static void trim(
|
||||
char *buf)
|
||||
@ -252,8 +247,7 @@ MLB *mlb_open(
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Shift occupied directory entries to the front of the array
|
||||
before sorting */
|
||||
/* Shift occupied directory entries to the front of the array */
|
||||
{
|
||||
int j;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user