summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_if.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-24 12:25:13 +0000
committerbde <bde@FreeBSD.org>1995-11-24 12:25:13 +0000
commitcfd4c99c1be0b13f09a0fc1170a9e3858a95e0be (patch)
treeef45e7b6fbd42ab127711b3f63dc00909df1c61b /sys/netipx/ipx_if.h
parentc02caaf51c301ea60f3f83f8e6aabc6d4528a4d0 (diff)
downloadFreeBSD-src-cfd4c99c1be0b13f09a0fc1170a9e3858a95e0be.zip
FreeBSD-src-cfd4c99c1be0b13f09a0fc1170a9e3858a95e0be.tar.gz
Cleaned up prototypes:
- don't #include other headers just to get struct names. - don't use __BEGIN_DECLS/__END_DECLS for system prototypes. It is for user prototypes. - don't use extern. - don't use lines longer than 80 columns. - use alphabetical order. - use tabs. Uniformized idempotency ifdefs.
Diffstat (limited to 'sys/netipx/ipx_if.h')
-rw-r--r--sys/netipx/ipx_if.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/sys/netipx/ipx_if.h b/sys/netipx/ipx_if.h
index aa57d73..05b08b1 100644
--- a/sys/netipx/ipx_if.h
+++ b/sys/netipx/ipx_if.h
@@ -33,11 +33,11 @@
*
* @(#)ipx_if.h
*
- * $Id: ipx_if.h,v 1.3 1995/10/31 23:36:25 julian Exp $
+ * $Id: ipx_if.h,v 1.4 1995/11/04 09:02:51 julian Exp $
*/
#ifndef _NETIPX_IPX_IF_H_
-#define _NETIPX_IPX_IF_H_
+#define _NETIPX_IPX_IF_H_
/*
* Interface address. One of these structures
@@ -88,18 +88,14 @@ struct ipxip_req {
#endif
#ifdef KERNEL
-
extern struct ifqueue ipxintrq; /* IPX input packet queue */
extern struct ipx_ifaddr *ipx_ifaddr;
-#include <sys/cdefs.h>
-
-__BEGIN_DECLS
-int ipx_ifinit __P((struct ifnet *ifp, struct ipx_ifaddr *ia, struct sockaddr_ipx *sipx, int scrub));
-void ipx_ifscrub __P((struct ifnet *ifp, struct ipx_ifaddr *ia));
-struct ipx_ifaddr *ipx_iaonnetof __P((struct ipx_addr *dst));
-__END_DECLS
-
+struct ipx_ifaddr *
+ ipx_iaonnetof __P((struct ipx_addr *dst));
+int ipx_ifinit __P((struct ifnet *ifp, struct ipx_ifaddr *ia,
+ struct sockaddr_ipx *sipx, int scrub));
+void ipx_ifscrub __P((struct ifnet *ifp, struct ipx_ifaddr *ia));
#endif
-#endif
+#endif /* !_NETIPX_IPX_IF_H_ */
OpenPOWER on IntegriCloud