diff options
author | imp <imp@FreeBSD.org> | 2000-04-14 06:39:19 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-04-14 06:39:19 +0000 |
commit | 4721d7ef435f4d79e92d8d98ba9b645bb25993fb (patch) | |
tree | c7963b41252b2e47e3e9896854edbbb0300e6576 /usr.bin/make | |
parent | 7fec3d2787608459e561d33aa2c5f4370c7eb11f (diff) | |
download | FreeBSD-src-4721d7ef435f4d79e92d8d98ba9b645bb25993fb.zip FreeBSD-src-4721d7ef435f4d79e92d8d98ba9b645bb25993fb.tar.gz |
#include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
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 bb3f501..f9f7e79 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 174954e..3874e96 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]; |