summaryrefslogtreecommitdiff
path: root/libiberty/cp-demangle.c
diff options
context:
space:
mode:
authorphdm <phdm@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-08 07:29:53 +0000
committerphdm <phdm@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-08 07:29:53 +0000
commite5d6924a2df715273e645f91b38ef8862eb09d87 (patch)
tree999aee73b1806e604e7b73860639851ee3697973 /libiberty/cp-demangle.c
parent8c2024881ea34caf0190f28a9f081593572aa88c (diff)
downloadgcc-e5d6924a2df715273e645f91b38ef8862eb09d87.tar.gz
* cp-demangle.c (stdio.h): File included unconditionaly.
(template_arg_list_new): Parameter list is PARAMS ((void)), not (). * dyn-string.c (stdio.h): File included. * partition.c (partition_print): No `&' needed to take the address of a function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34450 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r--libiberty/cp-demangle.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index 2feac6c30ef..58aed0d5f4f 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -33,9 +33,7 @@
#include <stdlib.h>
#endif
-#if defined(CP_DEMANGLE_DEBUG) || defined(STANDALONE_DEMANGLER)
#include <stdio.h>
-#endif
#ifdef HAVE_STRING_H
#include <string.h>
@@ -514,7 +512,7 @@ substitutions_print (dm, fp)
/* Creates a new template argument list. */
static template_arg_list_t
-template_arg_list_new ()
+template_arg_list_new PARAMS((void))
{
template_arg_list_t new_list
= (template_arg_list_t) xmalloc (sizeof (struct template_arg_list_def));