From: David Edelsohn Date: Thu, 11 Aug 1994 11:09:54 +0000 (+0000) Subject: (concat, basename, buildargv, freeargv, strerrno, strsigno, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97e7b66f5e80e55d1508778e9e037a4f9af8b9f6;p=binutils-gdb.git (concat, basename, buildargv, freeargv, strerrno, strsigno, errno_max, signo_max, strtoerrno, strtosigno): Delete. Include "libiberty.h" instead. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ea3c2119eef..65e3d1afc86 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 d21c30ebc68..728dccfa0c0 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