summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-09-22 14:56:22 +0000
committermillert <millert@openbsd.org>2000-09-22 14:56:22 +0000
commit26bcbb5be9a978fec6e502291914f7dcc59b17c1 (patch)
tree140e6a783a82a727cd68d5866263e231ff1b11ec
parentipx_addr(3) takes a const char *. (diff)
downloadwireguard-openbsd-26bcbb5be9a978fec6e502291914f7dcc59b17c1.tar.xz
wireguard-openbsd-26bcbb5be9a978fec6e502291914f7dcc59b17c1.zip
Add prototypes for ipx_addr() and ipx_ntoa(); mickey@ OK'd
-rw-r--r--sys/netipx/ipx.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/netipx/ipx.h b/sys/netipx/ipx.h
index 01bd8a0a9e8..2b7827c9404 100644
--- a/sys/netipx/ipx.h
+++ b/sys/netipx/ipx.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx.h,v 1.12 2000/01/17 00:34:00 fgsch Exp $ */
+/* $OpenBSD: ipx.h,v 1.13 2000/09/22 14:56:22 millert Exp $ */
/*-
*
@@ -246,4 +246,11 @@ void ipx_printhost __P((struct ipx_addr *addr));
#endif /* _KERNEL */
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
+struct ipx_addr ipx_addr __P((const char *));
+char *ipx_ntoa __P((struct ipx_addr));
+__END_DECLS
+
#endif /* !_NETIPX_IPX_H_ */