diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-02-20 04:06:40 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-26 14:42:43 -0500 |
commit | a39a21982c53846acb3bee1a23764a387160a4c8 (patch) | |
tree | 4920492b72217a5bfdf159bfc85339190de7f646 | |
parent | 2312119afbce0108a72a1e09015a37308f7c7212 (diff) |
[IRDA] net/irda/: proper prototypes
This patch adds proper prototypes for some functions in
include/net/irda/irda.h
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/irda/irda.h | 16 | ||||
-rw-r--r-- | net/irda/irmod.c | 13 |
2 files changed, 16 insertions, 13 deletions
diff --git a/include/net/irda/irda.h b/include/net/irda/irda.h index 1cb0607fcbb..89fe534045f 100644 --- a/include/net/irda/irda.h +++ b/include/net/irda/irda.h | |||
@@ -113,4 +113,20 @@ do { if(!(expr)) { \ | |||
113 | #define IAS_IRCOMM_ID 0x2343 | 113 | #define IAS_IRCOMM_ID 0x2343 |
114 | #define IAS_IRLPT_ID 0x9876 | 114 | #define IAS_IRLPT_ID 0x9876 |
115 | 115 | ||
116 | struct net_device; | ||
117 | struct packet_type; | ||
118 | |||
119 | extern void irda_proc_register(void); | ||
120 | extern void irda_proc_unregister(void); | ||
121 | |||
122 | extern int irda_sysctl_register(void); | ||
123 | extern void irda_sysctl_unregister(void); | ||
124 | |||
125 | extern int irsock_init(void); | ||
126 | extern void irsock_cleanup(void); | ||
127 | |||
128 | extern int irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev, | ||
129 | struct packet_type *ptype, | ||
130 | struct net_device *orig_dev); | ||
131 | |||
116 | #endif /* NET_IRDA_H */ | 132 | #endif /* NET_IRDA_H */ |
diff --git a/net/irda/irmod.c b/net/irda/irmod.c index 826e6c4ca5d..c7fad2c5b9f 100644 --- a/net/irda/irmod.c +++ b/net/irda/irmod.c | |||
@@ -42,19 +42,6 @@ | |||
42 | #include <net/irda/irttp.h> /* irttp_init */ | 42 | #include <net/irda/irttp.h> /* irttp_init */ |
43 | #include <net/irda/irda_device.h> /* irda_device_init */ | 43 | #include <net/irda/irda_device.h> /* irda_device_init */ |
44 | 44 | ||
45 | /* irproc.c */ | ||
46 | extern void irda_proc_register(void); | ||
47 | extern void irda_proc_unregister(void); | ||
48 | /* irsysctl.c */ | ||
49 | extern int irda_sysctl_register(void); | ||
50 | extern void irda_sysctl_unregister(void); | ||
51 | /* af_irda.c */ | ||
52 | extern int irsock_init(void); | ||
53 | extern void irsock_cleanup(void); | ||
54 | /* irlap_frame.c */ | ||
55 | extern int irlap_driver_rcv(struct sk_buff *, struct net_device *, | ||
56 | struct packet_type *, struct net_device *); | ||
57 | |||
58 | /* | 45 | /* |
59 | * Module parameters | 46 | * Module parameters |
60 | */ | 47 | */ |