mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 11:12:07 +00:00
Fix some make checkcodebase errors
- Reorder checkpatch ignore flags alphabetically - Fix checkpatch WARNINGs and CHECKs when they make sense - Add more checkpatch ignores
This commit is contained in:
@@ -20,15 +20,19 @@
|
||||
*/
|
||||
struct Charnode {
|
||||
uint8_t code; /* the value in a key-value pair. */
|
||||
uint8_t isCode; /* has one if it's a code node, not just a bridge node. */
|
||||
struct Charnode *next[256]; /* each index representing the next possible character from its current state. */
|
||||
uint8_t isCode; /* has 1 if it's a code node, not just a bridge node. */
|
||||
struct Charnode *next[256]; /* each index representing the next possible
|
||||
* character from its current state.
|
||||
*/
|
||||
};
|
||||
|
||||
struct Charmap {
|
||||
char name[MAXSYMLEN + 1];
|
||||
int32_t charCount; /* user-side count. */
|
||||
int32_t nodeCount; /* node-side count. */
|
||||
struct Charnode nodes[MAXCHARNODES]; /* first node is reserved for the root node in charmap. */
|
||||
struct Charnode nodes[MAXCHARNODES]; /* first node is reserved for the
|
||||
* root node in charmap.
|
||||
*/
|
||||
struct Charmap *next; /* next charmap in hash table bucket */
|
||||
};
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ struct sSymbol {
|
||||
struct Section *pSection;
|
||||
uint32_t ulMacroSize;
|
||||
char *pMacro;
|
||||
int32_t (*Callback)(struct sSymbol *);
|
||||
int32_t (*Callback)(struct sSymbol *self);
|
||||
char tzFileName[_MAX_PATH + 1]; /* File where the symbol was defined. */
|
||||
uint32_t nFileLine; /* Line where the symbol was defined. */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user