From f6e2ff11f3b689459db0265207af69620023c435 Mon Sep 17 00:00:00 2001 From: erg Date: Thu, 7 Dec 2006 22:49:35 +0000 Subject: [PATCH] Re-do some .h files to limit exposure of internal values, .h files, and dependencies on config.h; return to a simple, concrete boolean type --- lib/common/macros.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/common/macros.h b/lib/common/macros.h index b15f6c144..1c5446daf 100644 --- a/lib/common/macros.h +++ b/lib/common/macros.h @@ -17,6 +17,10 @@ #ifndef GV_MACROS_H #define GV_MACROS_H +#ifndef NOTUSED +#define NOTUSED(var) (void) var +#endif + #define isPinned(n) (ND_pinned(n) == P_PIN) #define hasPos(n) (ND_pinned(n) > 0) #define isFixed(n) (ND_pinned(n) > P_SET) -- 2.40.0