diff --git a/contrib/amd/amq/amq.c b/contrib/amd/amq/amq.c index 50482b423163..e49cabcf139a 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 +__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 c0e9fa9afa73..54e7541248ff 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 and Alexander Dupuy @@ -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;