mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-01 06:12:31 +00:00
Remove extra semicolons, convert #define x() {...} to do {...} while (0) style (#444)
* Remove extra semicolons, convert #define x() {...} to do {...} while (0) style
* Fix missing brace in INIT-specific definition of init_kbd_startup
This commit is contained in:
@@ -302,7 +302,7 @@ int sysout_loader(const char *sysout_file_name, int sys_size) {
|
||||
perror("sysout_loader: can't seek sysout file");
|
||||
free(fptovp);
|
||||
exit(-1);
|
||||
};
|
||||
}
|
||||
lispworld_offset = GETFPTOVP(fptovp, i) * BYTESPER_PAGE;
|
||||
if (read(sysout, lispworld_scratch + lispworld_offset, BYTESPER_PAGE) == -1) {
|
||||
printf("sysout_loader: can't read sysout file at %d\n", i);
|
||||
@@ -314,11 +314,11 @@ int sysout_loader(const char *sysout_file_name, int sys_size) {
|
||||
}
|
||||
free(fptovp);
|
||||
exit(-1);
|
||||
};
|
||||
}
|
||||
#ifdef BYTESWAP
|
||||
word_swap_page((DLword *)(lispworld_scratch + lispworld_offset), 128);
|
||||
#endif
|
||||
};
|
||||
}
|
||||
}
|
||||
free(fptovp);
|
||||
DBPRINT(("sysout file is read completely.\n"));
|
||||
|
||||
Reference in New Issue
Block a user