summaryrefslogtreecommitdiffstats
path: root/sys/rpc/rpc_com.h
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2010-09-24 15:01:45 +0000
committerattilio <attilio@FreeBSD.org>2010-09-24 15:01:45 +0000
commit278493a1a57074b0ff4561304d271e464a4944ef (patch)
tree761e44816c0dd4bf028f704e2614b143338f000d /sys/rpc/rpc_com.h
parent59060ff14e0dc0d4fb91766b662dfddf5c007feb (diff)
downloadFreeBSD-src-278493a1a57074b0ff4561304d271e464a4944ef.zip
FreeBSD-src-278493a1a57074b0ff4561304d271e464a4944ef.tar.gz
Make the RPC specific __rpc_inet_ntop() and __rpc_inet_pton() general
in the kernel (just as inet_ntoa() and inet_aton()) are and sync their prototype accordingly with already mentioned functions. Sponsored by: Sandvine Incorporated Reviewed by: emaste, rstone Approved by: dfr MFC after: 2 weeks
Diffstat (limited to 'sys/rpc/rpc_com.h')
-rw-r--r--sys/rpc/rpc_com.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/rpc/rpc_com.h b/sys/rpc/rpc_com.h
index e50e513..290a289 100644
--- a/sys/rpc/rpc_com.h
+++ b/sys/rpc/rpc_com.h
@@ -111,10 +111,6 @@ extern struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
extern int __rpc_seman2socktype(int);
extern int __rpc_socktype2seman(int);
extern int __rpc_sockisbound(struct socket*);
-extern const char *__rpc_inet_ntop(int af, const void * __restrict src,
- char * __restrict dst, socklen_t size);
-extern int __rpc_inet_pton(int af, const char * __restrict src,
- void * __restrict dst);
extern int bindresvport(struct socket *so, struct sockaddr *sa);
struct xucred;
OpenPOWER on IntegriCloud