Thu Apr 23 12:52:21 1998 Philippe De Muyter <phdm@macqel.be>

* configure.in (strerror): Check if function must be declared.
        * acconfig.h (NEED_DECLARATION_STRERROR): New define slot.
        * gdb_string.h (strerror): Function declaration issued if
        NEED_DECLARATION_STRERROR.
        * configure, config.in : Files regenerated.
This commit is contained in:
Jason Molenda 1998-04-23 19:53:35 +00:00
parent ca39bf77b0
commit 21cbc60c52
6 changed files with 292 additions and 235 deletions

View file

@ -45,10 +45,6 @@ extern char *strstr PARAMS ((const char *, const char *)); /* X3.159-1989 4.11.
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
@ -57,6 +53,12 @@ extern void *memcpy();
extern void *memmove();
extern int memcmp();
# endif
#endif /* STDC_HEADERS */
#ifdef NEED_DECLARATION_STRERROR
#ifndef strerror
extern char *strerror PARAMS ((int)); /* X3.159-1989 4.11.6.2 */
#endif
#endif
#ifndef strdup