mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Fixed missing declaration of pluralies(). This showed up as strange
printf format warnings for inet6.c (pluralies() was implicit int, but the context requires a "char *"). Added WARNS?=2 to the Makefile so that such errors don't come back. Added NO_WERROR?= to the Makefile because I haven't checked that setting WARNS doesn't uncover more bugs except on i386's.
This commit is contained in:
parent
3e15599181
commit
aa54e1ecc5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123950
@ -6,6 +6,8 @@ SRCS= if.c inet.c inet6.c main.c mbuf.c mroute.c ipx.c route.c \
|
||||
unix.c atalk.c netgraph.c mroute6.c ipsec.c
|
||||
CFLAGS+=-DIPSEC
|
||||
CFLAGS+=-DINET6
|
||||
WARNS?= 2
|
||||
NO_WERROR?=
|
||||
|
||||
BINGRP= kmem
|
||||
BINMODE=2555
|
||||
|
@ -63,6 +63,7 @@ extern int af; /* address family */
|
||||
int kread(u_long addr, char *buf, int size);
|
||||
const char *plural(int);
|
||||
const char *plurales(int);
|
||||
const char *pluralies(int);
|
||||
|
||||
void protopr(u_long, const char *, int);
|
||||
void tcp_stats(u_long, const char *, int);
|
||||
|
Loading…
Reference in New Issue
Block a user