mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 22:21:26 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user