1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / gdb_string.h
index 7cfef642e96682ff0c349af1113f55c33624273c..944eec14ad9c67b648c148f45c4142523d69fdee 100644 (file)
@@ -1,5 +1,5 @@
 /* Portable <string.h>
-   Copyright 1995 Free Software Foundation, Inc.
+   Copyright 1995, 1998 Free Software Foundation, Inc.
 
 This file is part of GDB.
 
@@ -61,8 +61,8 @@ extern char *strerror PARAMS ((int)); /* X3.159-1989  4.11.6.2 */
 #endif
 #endif
 
-#ifndef strdup
-extern char *strdup PARAMS ((const char *));
+#ifdef NEED_DECLARATION_STRDUP
+extern char *strdup (); /* full prototype collides w/ some OSes (AIX 3.2.5) */
 #endif
 
 #endif /* !defined(GDB_STRING_H) */
This page took 0.023503 seconds and 4 git commands to generate.