summaryrefslogtreecommitdiffstats
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1994-08-11 11:09:54 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1994-08-11 11:09:54 +0000
commit97e7b66f5e80e55d1508778e9e037a4f9af8b9f6 (patch)
treee8fc5fb80dfb5c3735e6bf1affd57c50938bcb84 /gdb/defs.h
parentaf76a6e052e8afb1d0f8426cb58eacd909b63cf9 (diff)
downloadppe42-binutils-97e7b66f5e80e55d1508778e9e037a4f9af8b9f6.tar.gz
ppe42-binutils-97e7b66f5e80e55d1508778e9e037a4f9af8b9f6.zip
(concat, basename, buildargv, freeargv, strerrno, strsigno,
errno_max, signo_max, strtoerrno, strtosigno): Delete. Include "libiberty.h" instead.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h32
1 files changed, 8 insertions, 24 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index d21c30ebc6..728dccfa0c 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -28,6 +28,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "ansidecl.h"
+#include "libiberty.h"
+
+/* libiberty.h can't declare this one, but evidently we can. */
+extern char *strsignal PARAMS ((int));
+
/* For BFD64 and bfd_vma. */
#include "bfd.h"
@@ -498,8 +503,6 @@ extern char *strsave PARAMS ((const char *));
extern char *mstrsave PARAMS ((void *, const char *));
-extern char *concat PARAMS ((char *, ...));
-
extern PTR xmalloc PARAMS ((long));
extern PTR xrealloc PARAMS ((PTR, long));
@@ -564,31 +567,12 @@ extern void warning_setup PARAMS ((void));
extern void warning ();
-/* Global functions from other, non-gdb GNU thingies (libiberty for
- instance) */
-
-extern char *basename PARAMS ((char *));
+/* Global functions from other, non-gdb GNU thingies.
+ Libiberty thingies are no longer declared here. We include libiberty.h
+ above, instead. */
extern char *getenv PARAMS ((const char *));
-extern char **buildargv PARAMS ((char *));
-
-extern void freeargv PARAMS ((char **));
-
-extern char *strerrno PARAMS ((int));
-
-extern char *strsigno PARAMS ((int));
-
-extern int errno_max PARAMS ((void));
-
-extern int signo_max PARAMS ((void));
-
-extern int strtoerrno PARAMS ((char *));
-
-extern int strtosigno PARAMS ((char *));
-
-extern char *strsignal PARAMS ((int));
-
/* From other system libraries */
#ifndef PSIGNAL_IN_SIGNAL_H
OpenPOWER on IntegriCloud