X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fgdb_string.h;h=f54af80845c6cc3023629dc5921a7ea2b2ca3bf8;hb=c04898f807516f8361a4ec6f55b984bdf0955f7e;hp=9824f1f8c92c679a09d3f9d29647eb4ecac2c1d1;hpb=ed288bb597072176e84fc8279707a3f2f475779b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdb_string.h b/gdb/gdb_string.h index 9824f1f8c9..f54af80845 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, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -31,15 +31,15 @@ #endif #ifndef strchr -extern char *strchr PARAMS ((const char *, int)); /* X3.159-1989 4.11.5.2 */ +extern char *strchr (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 */ +extern char *strrchr (const char *, int); /* X3.159-1989 4.11.5.5 */ #endif #ifndef strtok -extern char *strtok PARAMS ((char *, const char *)); /* X3.159-1989 4.11.5.8 */ +extern char *strtok (char *, const char *); /* X3.159-1989 4.11.5.8 */ #endif #ifdef HAVE_MEMORY_H @@ -54,17 +54,13 @@ extern int memcmp (); #ifdef NEED_DECLARATION_STRERROR #ifndef strerror -extern char *strerror PARAMS ((int)); /* X3.159-1989 4.11.6.2 */ +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 PARAMS ((const char *, const char *)); /* X3.159-1989 4.11.5.7 */ +extern char *strstr (const char *, const char *); /* X3.159-1989 4.11.5.7 */ #endif #endif