aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdb_string.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f7f3240..6f4aa22 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Mon Apr 20 15:32:21 1998 Mark Kettenis <kettenis@phys.uva.nl>
+
+ * gdb/gdb_string.h (strdup): Declare only if not defined as a
+ macro.
+
Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>
* procfs.c: Added replacement macros for LWP stuff. Fixed support
diff --git a/gdb/gdb_string.h b/gdb/gdb_string.h
index 0c6b68a..6b8fb82 100644
--- a/gdb/gdb_string.h
+++ b/gdb/gdb_string.h
@@ -59,6 +59,8 @@ extern int memcmp();
# endif
#endif
-extern char *strdup ();
+#ifndef strdup
+extern char *strdup PARAMS ((const char *));
+#endif
#endif /* !defined(GDB_STRING_H) */