diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-04 17:28:54 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-04 17:28:54 -0600 |
commit | 2fe787ba4db420f5b08573d77e35cfaa0d7a0793 (patch) | |
tree | b9c1264b56d713a6df9b029606f87d824f3a3d20 /lib9p/map.h | |
parent | b683e779ef83b88f6ffc503a1d1a4f3ec25a5cfa (diff) |
wip srv
Diffstat (limited to 'lib9p/map.h')
-rw-r--r-- | lib9p/map.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib9p/map.h b/lib9p/map.h index a8d26b5..9df9be7 100644 --- a/lib9p/map.h +++ b/lib9p/map.h @@ -45,6 +45,9 @@ struct NAME { struct MAP_KV(NAME) items[CAP]; }; +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-function" + /** * Load an item from the map; return a pointer to the in-map value, or * NULL if the item is not in the map. @@ -96,6 +99,8 @@ static bool MAP_METHOD(NAME,del)(struct NAME *m, KEY_T k) { return false; } +#pragma GCC diagnostic pop + #undef NAME #undef KEY_T #undef VAL_T |