]> Zhao Yanbai Git Server - minix.git/commitdiff
simplification suggested by Mark Farnsworth
authorBen Gras <ben@minix3.org>
Thu, 15 Jan 2009 14:42:40 +0000 (14:42 +0000)
committerBen Gras <ben@minix3.org>
Thu, 15 Jan 2009 14:42:40 +0000 (14:42 +0000)
include/ansi.h

index adf41c42345194366888223b25d31959e231b07b..17a5cd949ea0965bc9119dc1c15134573d25a162 100755 (executable)
 #define _ANSI          31459   /* gcc conforms enough even in non-ANSI mode */
 #endif
 
+#define        _VOIDSTAR       void *
+#define        _VOID           void
+
 #ifdef _ANSI
 
 /* Keep everything for ANSI prototypes. */
 #define        _PROTOTYPE(function, params)    function params
 #define        _ARGS(params)                   params
 
-#define        _VOIDSTAR       void *
-#define        _VOID           void
 #define        _CONST          const
 #define        _VOLATILE       volatile
 #define _SIZET         size_t
@@ -47,8 +48,6 @@
 #define        _PROTOTYPE(function, params)    function()
 #define        _ARGS(params)                   ()
 
-#define        _VOIDSTAR       void *
-#define        _VOID           void
 #define        _CONST
 #define        _VOLATILE
 #define _SIZET         int