OSDN Git Service

* demangle.h: #include "gansidecl.h".
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Apr 1996 17:56:39 +0000 (17:56 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Apr 1996 17:56:39 +0000 (17:56 +0000)
(PROTO,PTR,const): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11791 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/demangle.h

index d4d0a3f..b0254af 100644 (file)
 #define DEMANGLE_H
 
 #ifdef IN_GCC
-
-/* Add prototype support.  */
-#ifndef PROTO
-#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)
-#define PROTO(ARGS) ARGS
-#else
-#define PROTO(ARGS) ()
-#endif
-#endif
-
+#include "gansidecl.h"
 #define PARAMS(ARGS) PROTO(ARGS)
-
-#ifdef __STDC__
-#define PTR void *
-#else
-#ifndef const
-#define const
-#endif
-#define PTR char *
-#endif
-
 #else /* ! IN_GCC */
 #include <ansidecl.h>
 #endif /* IN_GCC */