aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_string.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-07-26 03:01:51 +0000
committerFred Fish <fnf@specifix.com>1996-07-26 03:01:51 +0000
commitb607efe7149f91512dc5fd9dbfc4c6156cdf9a93 (patch)
treeb90b82aac0d802ec179525d8d80635a44c562f1e /gdb/gdb_string.h
parentdc88c64e2c0dbc786d0cee2b3bde0bdee8fcf2d1 (diff)
downloadgdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.zip
gdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.tar.gz
gdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.tar.bz2
See gdb ChangeLog entry with header:
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for a rather huge set of changes. I was going to put them here, but it made cvs dump core. :-(
Diffstat (limited to 'gdb/gdb_string.h')
-rw-r--r--gdb/gdb_string.h28
1 files changed, 22 insertions, 6 deletions
diff --git a/gdb/gdb_string.h b/gdb/gdb_string.h
index 4fb53bb..0c6b68a 100644
--- a/gdb/gdb_string.h
+++ b/gdb/gdb_string.h
@@ -28,11 +28,27 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
# else
# include <strings.h>
# endif
-extern char *strchr();
-extern char *strrchr();
-extern char *strstr();
-extern char *strtok();
-extern char *strerror();
+
+#ifndef strchr
+extern char *strchr PARAMS ((const char *, int)); /* X3.159-1989 4.11.5.2 */
+#endif
+
+#ifndef strrchr
+extern char *strrchr PARAMS ((const char *, int)); /* X3.159-1989 4.11.5.5 */
+#endif
+
+#ifndef strstr
+extern char *strstr PARAMS ((const char *, const char *)); /* X3.159-1989 4.11.5.7 */
+#endif
+
+#ifndef strtok
+extern char *strtok PARAMS ((char *, const char *)); /* X3.159-1989 4.11.5.8 */
+#endif
+
+#ifndef strerror
+extern char *strerror PARAMS ((int)); /* X3.159-1989 4.11.6.2 */
+#endif
+
# ifdef HAVE_MEMORY_H
# include <memory.h>
# else
@@ -43,6 +59,6 @@ extern int memcmp();
# endif
#endif
-extern char *strdup();
+extern char *strdup ();
#endif /* !defined(GDB_STRING_H) */