From e17f9e900e7baf931ff35ce959fb90553d0756ff Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 18 Jul 1997 07:57:55 +0000 Subject: [PATCH] Teensy change to use WARNS. --- usr.sbin/ypbind/Makefile | 5 +++-- usr.sbin/ypbind/ypbind.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/usr.sbin/ypbind/Makefile b/usr.sbin/ypbind/Makefile index a39f78172a45..fd2d1182e03a 100644 --- a/usr.sbin/ypbind/Makefile +++ b/usr.sbin/ypbind/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.10 1997/07/07 02:27:05 lukem Exp $ +# $NetBSD: Makefile,v 1.11 1997/07/18 07:57:55 thorpej Exp $ # from: @(#)Makefile 5.8 (Berkeley) 7/28/90 PROG= ypbind MAN= ypbind.8 -CFLAGS+=-DHEURISTIC -Wall +CFLAGS+=-DHEURISTIC +WARNS=1 .include diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c index ac1d85f9c8b3..4d9bf080dc17 100644 --- a/usr.sbin/ypbind/ypbind.c +++ b/usr.sbin/ypbind/ypbind.c @@ -1,4 +1,4 @@ -/* $NetBSD: ypbind.c,v 1.30 1997/07/07 02:27:08 lukem Exp $ */ +/* $NetBSD: ypbind.c,v 1.31 1997/07/18 07:57:56 thorpej Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt @@ -34,7 +34,7 @@ #include #ifndef LINT -__RCSID("$NetBSD: ypbind.c,v 1.30 1997/07/07 02:27:08 lukem Exp $"); +__RCSID("$NetBSD: ypbind.c,v 1.31 1997/07/18 07:57:56 thorpej Exp $"); #endif #include @@ -124,6 +124,7 @@ static u_long rmtcr_port; static SVCXPRT *udptransp, *tcptransp; int _yp_invalid_domain __P((const char *)); /* from libc */ +int main __P((int, char *[])); static void usage __P((void)); static struct _dom_binding *makebinding __P((const char *));