diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-08 17:17:15 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-08 17:17:15 -0400 |
| commit | aeed1992e94c5ab6a5104a06a921101fbe8f40ed (patch) | |
| tree | 8ba6dc531acefa0eedd330224f16f750496e8dbe /enums.c | |
| parent | cf9d5b1619b9e5e886d2754f167046ff77d36abf (diff) | |
Fix nearly every GCC warning and add __attribute__((pure/const)) where
appropriate
Diffstat (limited to 'enums.c')
| -rw-r--r-- | enums.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ #include "typecheck.h" #include "builtins/util.h" -static bool has_extra_data(tag_ast_t *tags) +PUREFUNC static bool has_extra_data(tag_ast_t *tags) { for (tag_ast_t *tag = tags; tag; tag = tag->next) { if (tag->fields) return true; |
