Add strdup and strndup and fix strsignal

This commit is contained in:
Todd C. Miller
2010-03-13 09:30:22 -05:00
parent 6b4d97ebc3
commit fc598f8e12

View File

@@ -73,8 +73,14 @@ int setenv(const char *, const char *, int);
#ifndef HAVE_UNSETENV
int unsetenv(const char *);
#endif
#ifdef HAVE_SYS_SIGLIST
#if defined(HAVE_DECL_SYS_SIGLIST) || defined(HAVE_DECL__SYS_SIGLIST) || defined(HAVE_DECL___SYS_SIGLIST)
char *strsignal(int);
#endif
#ifndef HAVE_STRDUP
char *strdup(const char *);
#endif
#ifndef HAVE_STRNDUP
char *strndup(const char *, size_t);
#endif
#endif /* _SUDO_MISSING_H */