- Revert WARNS to 2 because of mismatch between (xdrproc_t) and xdr_void().
- Add prototype of from_addr().
This commit is contained in:
parent
fa5751c90d
commit
a9fe137d5f
@ -7,6 +7,9 @@ SRCS= file.c sm_inter_svc.c sm_inter.h statd.c procs.c
|
||||
CFLAGS+= -I${.OBJDIR}
|
||||
LIBADD= rpcsvc
|
||||
|
||||
# XXX: mismatch between (xdrproc_t) and xdr_void().
|
||||
WARNS?= 2
|
||||
|
||||
CLEANFILES= sm_inter_svc.c sm_inter.h
|
||||
|
||||
RPCSRC= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/sm_inter.x
|
||||
|
@ -52,9 +52,10 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include "statd.h"
|
||||
|
||||
static const char *from_addr(struct sockaddr *);
|
||||
|
||||
static const char *
|
||||
from_addr(saddr)
|
||||
struct sockaddr *saddr;
|
||||
from_addr(struct sockaddr *saddr)
|
||||
{
|
||||
static char inet_buf[INET6_ADDRSTRLEN];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user