From 1d2a8985b01849f45cf3d3e83c41f933421cf58b Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Mon, 15 Apr 1996 18:07:51 +0000 Subject: [PATCH] rtl.h: #include "gansidecl.h". * rtl.h: #include "gansidecl.h". (PROTO,VPROTO,PVPROTO,VPROTO,VA_START,STDIO_PROTO): Delete. (NULL,GENERIC_PTR,NULL_PTR): Delete. * tree.h: Likewise. From-SVN: r11799 --- gcc/tree.h | 49 ++----------------------------------------------- 1 file changed, 2 insertions(+), 47 deletions(-) diff --git a/gcc/tree.h b/gcc/tree.h index 1af1b89..dea5d77 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -1176,56 +1176,11 @@ union tree_node struct tree_exp exp; struct tree_block block; }; - -/* Add prototype support. */ -#ifndef PROTO -#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__) -#define PROTO(ARGS) ARGS -#else -#define PROTO(ARGS) () -#endif -#endif - -#ifndef VPROTO -#ifdef __STDC__ -#define PVPROTO(ARGS) ARGS -#define VPROTO(ARGS) ARGS -#define VA_START(va_list,var) va_start(va_list,var) -#else -#define PVPROTO(ARGS) () -#define VPROTO(ARGS) (va_alist) va_dcl -#define VA_START(va_list,var) va_start(va_list) -#endif -#endif - -#ifndef STDIO_PROTO -#ifdef BUFSIZ -#define STDIO_PROTO(ARGS) PROTO(ARGS) -#else -#define STDIO_PROTO(ARGS) () -#endif -#endif + +#include "gansidecl.h" #define NULL_TREE (tree) NULL -/* Define a generic NULL if one hasn't already been defined. */ - -#ifndef NULL -#define NULL 0 -#endif - -#ifndef GENERIC_PTR -#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__) -#define GENERIC_PTR void * -#else -#define GENERIC_PTR char * -#endif -#endif - -#ifndef NULL_PTR -#define NULL_PTR ((GENERIC_PTR)0) -#endif - /* The following functions accept a wide integer argument. Rather than having to cast on every function call, we use a macro instead, that is defined here and in rtl.h. */ -- 2.7.4