summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.pcnfsd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-01 03:24:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-01 03:24:15 +0000
commit376a7976c0a22002c6750673c39178e703bed58b (patch)
tree3b4a8322b9b5e1e7e175d003e4ecf149fba0ce24 /usr.sbin/rpc.pcnfsd
parent28d59da957500734c9a5139d0d9bd7eea82eb36d (diff)
no need to extern int errno if errno.h is included
Diffstat (limited to 'usr.sbin/rpc.pcnfsd')
-rw-r--r--usr.sbin/rpc.pcnfsd/pcnfsd_cache.c1
-rw-r--r--usr.sbin/rpc.pcnfsd/pcnfsd_print.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/rpc.pcnfsd/pcnfsd_cache.c b/usr.sbin/rpc.pcnfsd/pcnfsd_cache.c
index 12f5b9d4862..b5a1fe7b95c 100644
--- a/usr.sbin/rpc.pcnfsd/pcnfsd_cache.c
+++ b/usr.sbin/rpc.pcnfsd/pcnfsd_cache.c
@@ -33,7 +33,6 @@ extern char *crypt();
**---------------------------------------------------------------------
*/
-extern int errno;
#ifdef USER_CACHE
#define CACHE_SIZE 16 /* keep it small, as linear searches are
diff --git a/usr.sbin/rpc.pcnfsd/pcnfsd_print.c b/usr.sbin/rpc.pcnfsd/pcnfsd_print.c
index 7f5b912e758..220bf46c362 100644
--- a/usr.sbin/rpc.pcnfsd/pcnfsd_print.c
+++ b/usr.sbin/rpc.pcnfsd/pcnfsd_print.c
@@ -88,7 +88,6 @@ pr_list list_virtual_printers();
**---------------------------------------------------------------------
*/
-extern int errno;
extern int interrupted; /* in pcnfsd_misc.c */
struct stat statbuf;
char pathname[MAXPATHLEN];