diff options
author | obrien <obrien@FreeBSD.org> | 2002-05-09 00:41:18 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-05-09 00:41:18 +0000 |
commit | d30b71c2563080c32038201ad86ec65326e64102 (patch) | |
tree | 06d5ef3949d5df9cf4b9bcb0a993ff7861f39237 /contrib/amd | |
parent | 91b9756f6b3968a27e63d8a874869f9578b5bc91 (diff) | |
download | FreeBSD-src-d30b71c2563080c32038201ad86ec65326e64102.zip FreeBSD-src-d30b71c2563080c32038201ad86ec65326e64102.tar.gz |
sys_nerr should come from standard headers -- not from a coder's guess
of what is right.
Diffstat (limited to 'contrib/amd')
-rw-r--r-- | contrib/amd/amq/amq.c | 5 | ||||
-rw-r--r-- | contrib/amd/hlfsd/hlfsd.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/contrib/amd/amq/amq.c b/contrib/amd/amq/amq.c index 50482b4..e49cabc 100644 --- a/contrib/amd/amq/amq.c +++ b/contrib/amd/amq/amq.c @@ -39,10 +39,12 @@ * %W% (Berkeley) %G% * * $Id: amq.c,v 1.7.2.5 2001/01/12 22:43:43 ro Exp $ - * $FreeBSD$ * */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Automounter query tool */ @@ -252,7 +254,6 @@ show_mi(amq_mount_info_list *ml, enum show_opt e, int *mwid, int *dwid, int *twi mi->mi_up > 0 ? "up" : mi->mi_up < 0 ? "starting" : "down"); if (mi->mi_error > 0) { - extern int sys_nerr; if (mi->mi_error < sys_nerr) #ifdef HAVE_STRERROR printf(" (%s)", strerror(mi->mi_error)); diff --git a/contrib/amd/hlfsd/hlfsd.h b/contrib/amd/hlfsd/hlfsd.h index c0e9fa9..54e7541 100644 --- a/contrib/amd/hlfsd/hlfsd.h +++ b/contrib/amd/hlfsd/hlfsd.h @@ -39,6 +39,7 @@ * %W% (Berkeley) %G% * * $Id: hlfsd.h,v 1.4.2.2 2001/01/12 22:47:21 ro Exp $ + * $FreeBSD$ * * HLFSD was written at Columbia University Computer Science Department, by * Erez Zadok <ezk@cs.columbia.edu> and Alexander Dupuy <dupuy@cs.columbia.edu> @@ -147,7 +148,6 @@ extern gid_t hlfs_gid; extern int cache_interval; extern int noverify; extern int serverpid; -extern int sys_nerr; extern int untab_index(char *username); extern am_nfs_fh *root_fhp; extern am_nfs_fh root; |