mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 07:00:29 +08:00
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
This commit is contained in:
parent
61b39f423a
commit
1d2a8985b0
49
gcc/tree.h
49
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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user