From 386b5882adf72040ab3ef4905399571a746f75a5 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 10 Jul 2003 08:00:29 +0000 Subject: trivial protos --- usr.sbin/ypset/ypset.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/ypset/ypset.c') diff --git a/usr.sbin/ypset/ypset.c b/usr.sbin/ypset/ypset.c index 4670aed4133..634ec670442 100644 --- a/usr.sbin/ypset/ypset.c +++ b/usr.sbin/ypset/ypset.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypset.c,v 1.10 2003/06/25 21:44:56 deraadt Exp $ */ +/* $OpenBSD: ypset.c,v 1.11 2003/07/10 08:00:28 deraadt Exp $ */ /* $NetBSD: ypset.c,v 1.8 1996/05/13 02:46:33 thorpej Exp $ */ /* @@ -28,7 +28,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: ypset.c,v 1.10 2003/06/25 21:44:56 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ypset.c,v 1.11 2003/07/10 08:00:28 deraadt Exp $"; #endif #include @@ -45,14 +45,14 @@ static char rcsid[] = "$OpenBSD: ypset.c,v 1.10 2003/06/25 21:44:56 deraadt Exp #include #include -void +static void usage(void) { fprintf(stderr, "usage: ypset [-h host ] [-d domain] server\n"); exit(1); } -int +static int bind_tohost(struct sockaddr_in *sin, char *dom, char *server) { struct ypbind_setdom ypsd; -- cgit v1.2.3