2003-06-03 Michael Snyder <msnyder@redhat.com>
[deliverable/binutils-gdb.git] / binutils / budemang.c
index f80e196c9a02941e9071a64aed56f3d3ff3b7cfa..525a1c898cf3a57e57de1be976b06d53400a4b31 100644 (file)
@@ -1,5 +1,5 @@
 /* demangle.c -- A wrapper calling libiberty cplus_demangle
-   Copyright 2002 Free Software Foundation, Inc.
+   Copyright 2002, 2003 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    02111-1307, USA.  */
 
+#include "config.h"
 #include <stdlib.h>
+#ifdef HAVE_STRING_H
 #include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include "bfd.h"
 #include "libiberty.h"
 #include "demangle.h"
@@ -29,9 +36,7 @@
    other such chars that would otherwise confuse the demangler.  */
 
 char *
-demangle (abfd, name)
-     bfd *abfd;
-     const char *name;
+demangle (bfd *abfd, const char *name)
 {
   char *res;
   const char *p;
This page took 0.033556 seconds and 4 git commands to generate.