aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parentaf76a6e052e8afb1d0f8426cb58eacd909b63cf9 (diff)
downloadgdb-97e7b66f5e80e55d1508778e9e037a4f9af8b9f6.zip
gdb-97e7b66f5e80e55d1508778e9e037a4f9af8b9f6.tar.gz
gdb-97e7b66f5e80e55d1508778e9e037a4f9af8b9f6.tar.bz2
(concat, basename, buildargv, freeargv, strerrno, strsigno,
errno_max, signo_max, strtoerrno, strtosigno): Delete. Include "libiberty.h" instead.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/defs.h32
2 files changed, 14 insertions, 24 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ea3c211..65e3d1a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+Thu Aug 11 04:06:42 1994 Doug Evans (dje@canuck.cygnus.com)
+
+ * defs.h (concat, basename, buildargv, freeargv, strerrno, strsigno,
+ errno_max, signo_max, strtoerrno, strtosigno): Delete.
+ Include "libiberty.h" instead.
+
Wed Aug 10 13:23:47 1994 Rick Sladkey (jrs@world.std.com)
* i386v-nat.c (i386_insert_nonaligned_watchpoint):
diff --git a/gdb/defs.h b/gdb/defs.h
index d21c30e..728dccf 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