mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-04 15:43:04 +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:
12
src/uraid.c
12
src/uraid.c
@@ -228,11 +228,13 @@ v filename\t\tSaves the virtual memory on the filename (Not Bootable)\n\
|
||||
?\t\t\tDisplays this summary";
|
||||
#endif /* DOS */
|
||||
|
||||
#define ADD_RANGEP(address) \
|
||||
if (((address) < 0) || (POINTERMASK < (address))) { \
|
||||
printf("Address out of range.\n"); \
|
||||
return (T); \
|
||||
}
|
||||
#define ADD_RANGEP(address) \
|
||||
do { \
|
||||
if (((address) < 0) || (POINTERMASK < (address))) { \
|
||||
printf("Address out of range.\n"); \
|
||||
return (T); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
/*** URaid G vals ***/
|
||||
int URaid_scanlink = URSCAN_ALINK;
|
||||
|
||||
Reference in New Issue
Block a user