summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1997-04-29 08:43:52 +0000
committerdfr <dfr@FreeBSD.org>1997-04-29 08:43:52 +0000
commita10f222e6900de2bd563ab14e6e2d47d3faac992 (patch)
treee9d4b3ba30712cf5bd016c4f85b547ce6959b303 /usr.sbin/amd
parentb0e6e4b6859f0eddca05f524de43fd6ed2b309cc (diff)
downloadFreeBSD-src-a10f222e6900de2bd563ab14e6e2d47d3faac992.zip
FreeBSD-src-a10f222e6900de2bd563ab14e6e2d47d3faac992.tar.gz
Fix so that amd can build with hesiod support.
Submitted by: Kevin Van Maren <vanmaren@marker.cs.utah.edu>
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/amd/Makefile1
-rw-r--r--usr.sbin/amd/amd/info_hes.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/amd/amd/Makefile b/usr.sbin/amd/amd/Makefile
index 082d0b4..deb64ca 100644
--- a/usr.sbin/amd/amd/Makefile
+++ b/usr.sbin/amd/amd/Makefile
@@ -23,6 +23,7 @@ CFLAGS+=-DOS_REP=\"${OS}\"
CFLAGS+=-DOS_HDR=\"os-${OS}.h\"
CFLAGS+=${CONFIG}
CFLAGS+=-D_NEW_VFSCONF
+LDADD= ${XLIBDIR} ${RESOLV}
CLEANFILES+=vers.${PROG}.c vers.${PROG}.o version.amd
CLEANFILES+=mount.h mount_xdr.c nfs_prot.h nfs_prot_xdr.c nfs_prot_svc.c
RPCCOM = rpcgen
diff --git a/usr.sbin/amd/amd/info_hes.c b/usr.sbin/amd/amd/info_hes.c
index 954a414..10ad21f 100644
--- a/usr.sbin/amd/amd/info_hes.c
+++ b/usr.sbin/amd/amd/info_hes.c
@@ -37,7 +37,7 @@
*
* @(#)info_hes.c 8.1 (Berkeley) 6/6/93
*
- * $Id$
+ * $Id: info_hes.c,v 1.4 1997/02/22 16:01:31 peter Exp $
*
*/
@@ -107,7 +107,7 @@ time_t *tp;
* Do a Hesiod nameserver call.
* Modify time is ignored by Hesiod - XXX
*/
-int hesiod_search P((mnt_map *m, char *map, char **pval, time_t *tp));
+int hesiod_search P((mnt_map *m, char *map, char *key, char **pval, time_t *tp));
int hesiod_search(m, map, key, pval, tp)
mnt_map *m;
char *map;
OpenPOWER on IntegriCloud