diff options
| author | 2025-12-02 18:24:54 +0100 | |
|---|---|---|
| committer | 2025-12-02 18:24:54 +0100 | |
| commit | bfd58e2c515e8c360fda4bee3d0702c60d92ebf0 (patch) | |
| tree | 33f11ac7d4d56cbbe65cdf79753728b7fd4dfc9c /common.h | |
| parent | 3c6e4dd54d5c144369b96d6673da7f23df4940da (diff) | |
preprocessor: add #ifndef...#endif include guard optimization
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -382,8 +382,8 @@ const char *getfilename(int id); struct memfile *getfile(int id); void addfileline(int id, uint off); void getfilepos(int *line, int *col, int id, uint off); -bool isoncefile(int id); -void markfileonce(int id); +bool isoncefile(int id, const char **guard); +void markfileonce(int id, const char *guard); void markfileseen(int id); bool isfileseen(int id); void closefile(int id); |