From be49ed02760f6495574c99ae41995b2ecd7e45ee Mon Sep 17 00:00:00 2001 From: Jeff Holcomb Date: Fri, 26 Jan 2001 19:47:23 +0000 Subject: 2001-01-24 Jeff Holcomb * remote-udi.c (udi_open): Change strdup to xstrdup. * thread.c (thread_apply_all_command): Change strdup to xstrdup. Update copyright message. * varobj.c (delete_variable_1): Likewise. * gdb_string.h: Remove declaration of strdup. Update copyright message. * config/xm-mpw.h: Likewise. * config/i386/xm-i386mach.h: Likewise. * config/m68k/xm-apollo68b.h: Likewise. * config/m68k/xm-hp300bsd.h: Likewise. * config/rs6000/xm-rs6000.h: Likewise. * config/vax/xm-vaxult.h: Remove declaration of strdup. * config/vax/xm-vaxult2.h: Likewise. --- gdb/gdb_string.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gdb/gdb_string.h') diff --git a/gdb/gdb_string.h b/gdb/gdb_string.h index e6417b59078..2d9fe7a51aa 100644 --- a/gdb/gdb_string.h +++ b/gdb/gdb_string.h @@ -1,5 +1,5 @@ /* Portable - Copyright 1995, 1998 Free Software Foundation, Inc. + Copyright 1995, 1998, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -58,10 +58,6 @@ extern char *strerror (int); /* X3.159-1989 4.11.6.2 */ #endif #endif -#ifdef NEED_DECLARATION_STRDUP -extern char *strdup (); /* full prototype collides w/ some OSes (AIX 3.2.5) */ -#endif - #ifdef NEED_DECLARATION_STRSTR #ifndef strstr extern char *strstr (const char *, const char *); /* X3.159-1989 4.11.5.7 */ -- cgit v1.2.1