now declare strdup as extern

This commit is contained in:
Todd C. Miller
1993-10-06 01:48:53 +00:00
parent f7abfbf818
commit 11dfd7ef4b
2 changed files with 6 additions and 0 deletions

View File

@@ -61,6 +61,9 @@ extern char *getcwd();
#else
extern char *getwd();
#endif
#ifndef NEED_STRDUP
extern char *strdup();
#endif
/*******************************************************************

3
sudo.c
View File

@@ -55,6 +55,9 @@
#include <sys/param.h>
#include "sudo.h"
extern char *malloc();
#ifndef NEED_STRDUP
extern char *strdup();
#endif
int Argc;
char **Argv;