mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fix a few code style errors
This commit is contained in:
@@ -44,7 +44,7 @@ noreturn_ void fatal(char const *fmt, ...);
|
||||
* @param mode The mode to open the file with
|
||||
* @return A pointer to a valid FILE structure, or NULL if fileName was NULL
|
||||
*/
|
||||
FILE * openFile(char const *fileName, char const *mode);
|
||||
FILE *openFile(char const *fileName, char const *mode);
|
||||
|
||||
#define closeFile(file) do { \
|
||||
FILE *tmp = file; \
|
||||
|
||||
@@ -25,7 +25,7 @@ struct Assertion {
|
||||
* This would be redundant with `.section->fileSymbols`... but
|
||||
* `section` is sometimes NULL!
|
||||
*/
|
||||
struct Symbol ** fileSymbols;
|
||||
struct Symbol **fileSymbols;
|
||||
|
||||
struct Assertion *next;
|
||||
};
|
||||
|
||||
@@ -52,7 +52,7 @@ static char SavedSECOND[3];
|
||||
static bool exportall;
|
||||
|
||||
struct ForEachArgs {
|
||||
void (*func)(struct sSymbol *, void *);
|
||||
void (*func)(struct sSymbol *symbol, void *arg);
|
||||
void *arg;
|
||||
};
|
||||
|
||||
@@ -398,10 +398,10 @@ struct sSymbol *sym_AddLocalReloc(char const *tzSym)
|
||||
|
||||
fullSymbolName(fullname, sizeof(fullname), tzSym, pScope);
|
||||
return sym_AddReloc(fullname);
|
||||
} else {
|
||||
}
|
||||
|
||||
yyerror("Local label '%s' in main scope", tzSym);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user