diff options
| author | Paul Saab <ps@FreeBSD.org> | 2000-07-01 12:24:23 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2000-07-01 12:24:23 +0000 |
| commit | 74b36d1cb2700f94cdb0fdfafb69ecbb99b29ae1 (patch) | |
| tree | 186e70143e2cd6154c53d1ab0b2985b492baccf1 /usr.bin/make | |
| parent | dd4dddae84da39a8655a6276e2e759c54c0887db (diff) | |
Notes
Diffstat (limited to 'usr.bin/make')
| -rw-r--r-- | usr.bin/make/compat.c | 1 | ||||
| -rw-r--r-- | usr.bin/make/util.c | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c index f768f89a162e..4e14429dbf5a 100644 --- a/usr.bin/make/compat.c +++ b/usr.bin/make/compat.c @@ -69,7 +69,6 @@ static const char rcsid[] = #include "hash.h" #include "dir.h" #include "job.h" -extern int errno; /* * The following array is used to make a fast determination of which diff --git a/usr.bin/make/util.c b/usr.bin/make/util.c index 174954eb445a..3874e96b7acb 100644 --- a/usr.bin/make/util.c +++ b/usr.bin/make/util.c @@ -7,6 +7,7 @@ static char rcsid[] = "$FreeBSD$"; #endif #include <stdio.h> +#include <errno.h> #include "make.h" #if !__STDC__ @@ -16,9 +17,6 @@ static char rcsid[] = "$FreeBSD$"; #endif #ifdef sun - - - extern int errno, sys_nerr; extern char *sys_errlist[]; @@ -182,7 +180,6 @@ getwd(pathname) { DIR *dp; struct dirent *d; - extern int errno; struct stat st_root, st_cur, st_next, st_dotdot; char pathbuf[MAXPATHLEN], nextpathbuf[MAXPATHLEN * 2]; |
