Teensy change to use WARNS.

This commit is contained in:
thorpej 1997-07-18 07:57:55 +00:00
parent a5e58d3dda
commit e17f9e900e
2 changed files with 6 additions and 4 deletions

View File

@ -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 <bsd.prog.mk>

View File

@ -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 <deraadt@fsa.ca>
@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#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 <sys/param.h>
@ -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 *));