]> granicus.if.org Git - sudo/commitdiff
Move SET/CLR/ISSET from config.h.in to missing.h
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 1 Apr 2013 19:38:09 +0000 (15:38 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 1 Apr 2013 19:38:09 +0000 (15:38 -0400)
config.h.in
configure.in
include/missing.h

index bf89812589d49364841c13946100287556e22a55..4cfd7cac1db69673a656ba6b9f39d8313f865363 100644 (file)
 # define ignore_result(x)      (void)(x)
 #endif
 
-/* Macros to set/clear/test flags. */
-#undef SET
-#define SET(t, f)      ((t) |= (f))
-#undef CLR
-#define CLR(t, f)      ((t) &= ~(f))
-#undef ISSET
-#define ISSET(t, f)     ((t) & (f))
-
 /* BSD compatibility on some SVR4 systems. */
 #ifdef __svr4__
 # define BSD_COMP
index 3032923db9896d5ef55d2bbab9ebddfec9117e83..3eb4e42a5797ac73b280e95dd04e37cce4b32b97 100644 (file)
@@ -3778,14 +3778,6 @@ AH_BOTTOM([/*
 # define ignore_result(x)      (void)(x)
 #endif
 
-/* Macros to set/clear/test flags. */
-#undef SET
-#define SET(t, f)      ((t) |= (f))
-#undef CLR
-#define CLR(t, f)      ((t) &= ~(f))
-#undef ISSET
-#define ISSET(t, f)     ((t) & (f))
-
 /* BSD compatibility on some SVR4 systems. */
 #ifdef __svr4__
 # define BSD_COMP
index 891b79cc0f2299af754ea8a5f435ea4404bd2242..6269dee546fd2a9287ed0c7ac26f860291c5fa27 100644 (file)
 # define MAX(a,b) (((a)>(b))?(a):(b))
 #endif
 
+/* Macros to set/clear/test flags. */
+#undef SET
+#define SET(t, f)      ((t) |= (f))
+#undef CLR
+#define CLR(t, f)      ((t) &= ~(f))
+#undef ISSET
+#define ISSET(t, f)     ((t) & (f))
+
 /*
  * Some systems define this in <sys/param.h> but we don't include that anymore.
  */