From: Ben Gras Date: Thu, 15 Jan 2009 14:42:40 +0000 (+0000) Subject: simplification suggested by Mark Farnsworth X-Git-Tag: v3.1.4~132 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=6a267baeb89fcddf1eb3855320e2666a19fc6377;p=minix.git simplification suggested by Mark Farnsworth --- diff --git a/include/ansi.h b/include/ansi.h index adf41c423..17a5cd949 100755 --- a/include/ansi.h +++ b/include/ansi.h @@ -29,14 +29,15 @@ #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