aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-04-15 18:07:51 +0000
committerDoug Evans <dje@gnu.org>1996-04-15 18:07:51 +0000
commit1d2a8985b01849f45cf3d3e83c41f933421cf58b (patch)
treefb2f3d0811d27943eed335d323fbfbe94088d97a /gcc/tree.h
parent61b39f423afa19cb4bc73a96c04942f6a75b1b53 (diff)
downloadgcc-1d2a8985b01849f45cf3d3e83c41f933421cf58b.zip
gcc-1d2a8985b01849f45cf3d3e83c41f933421cf58b.tar.gz
gcc-1d2a8985b01849f45cf3d3e83c41f933421cf58b.tar.bz2
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
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h49
1 files 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. */