From 2fe787ba4db420f5b08573d77e35cfaa0d7a0793 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 4 Oct 2024 17:28:54 -0600 Subject: wip srv --- lib9p/map.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib9p/map.h') 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 -- cgit v1.2.3-2-g168b