aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.lockd/test.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-10-13 11:13:33 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-10-13 11:13:33 +0000
commitdf82e9ba02c7ea6099480b44d09a741c4293ba62 (patch)
tree150c279fd834e2c448b213619744ed4ef2d0c0d2 /usr.sbin/rpc.lockd/test.c
parent5dbfe9a1380b39d1cdf17ec8d9bcbcdaa5f1cc3a (diff)
downloadsrc-df82e9ba02c7ea6099480b44d09a741c4293ba62.tar.gz
src-df82e9ba02c7ea6099480b44d09a741c4293ba62.zip
Use err(3). Add usage() and #includes.
Notes
Notes: svn path=/head/; revision=30376
Diffstat (limited to 'usr.sbin/rpc.lockd/test.c')
-rw-r--r--usr.sbin/rpc.lockd/test.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/usr.sbin/rpc.lockd/test.c b/usr.sbin/rpc.lockd/test.c
index 2f1eb5ad29f6..01142a40da1e 100644
--- a/usr.sbin/rpc.lockd/test.c
+++ b/usr.sbin/rpc.lockd/test.c
@@ -1,11 +1,15 @@
-#include <rpc/rpc.h>
-#include <rpcsvc/nlm_prot.h>
#ifndef lint
-/*static char sccsid[] = "from: @(#)nlm_prot.x 1.8 87/09/21 Copyr 1987 Sun Micro";*/
-/*static char sccsid[] = "from: * @(#)nlm_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
-static char rcsid[] = "nlm_prot.x,v 1.1 1994/08/04 19:01:48 wollman Exp";
+#if 0
+static char sccsid[] = "from: @(#)nlm_prot.x 1.8 87/09/21 Copyr 1987 Sun Micro";
+static char sccsid[] = "from: * @(#)nlm_prot.x 2.1 88/08/01 4.0 RPCSRC";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
+#include <rpc/rpc.h>
+#include <rpcsvc/nlm_prot.h>
+
/* Default timeout can be changed using clnt_control() */
static struct timeval TIMEOUT = { 0, 0 };