aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-09-05 21:08:11 -0400
committerDavid S. Miller <davem@davemloft.net>2005-09-05 21:08:11 -0400
commit506e7beb7468c7cf56370d0a7a6afbec56653473 (patch)
tree732c43a6642d073171bcf55c028f57c1ced824e4
parent8c5955d83ed26455a49d12e783cc2258d11279a9 (diff)
[IRDA]: IrDA prototype fixes
Every file should #include the header files containing the prototypes of it's global functions. In this case this showed that the prototype of irlan_print_filter() was wrong which is also corrected in this patch. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/irda/irlan_filter.h2
-rw-r--r--net/irda/irlan/irlan_filter.c1
-rw-r--r--net/irda/qos.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/include/net/irda/irlan_filter.h b/include/net/irda/irlan_filter.h
index 3afeb6c94ea4..492dedaa8ac1 100644
--- a/include/net/irda/irlan_filter.h
+++ b/include/net/irda/irlan_filter.h
@@ -28,6 +28,6 @@
28void irlan_check_command_param(struct irlan_cb *self, char *param, 28void irlan_check_command_param(struct irlan_cb *self, char *param,
29 char *value); 29 char *value);
30void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb); 30void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb);
31int irlan_print_filter(struct seq_file *seq, int filter_type); 31void irlan_print_filter(struct seq_file *seq, int filter_type);
32 32
33#endif /* IRLAN_FILTER_H */ 33#endif /* IRLAN_FILTER_H */
diff --git a/net/irda/irlan/irlan_filter.c b/net/irda/irlan/irlan_filter.c
index 343c5d4a1a1d..ca7d358dab52 100644
--- a/net/irda/irlan/irlan_filter.c
+++ b/net/irda/irlan/irlan_filter.c
@@ -27,6 +27,7 @@
27#include <linux/seq_file.h> 27#include <linux/seq_file.h>
28 28
29#include <net/irda/irlan_common.h> 29#include <net/irda/irlan_common.h>
30#include <net/irda/irlan_filter.h>
30 31
31/* 32/*
32 * Function irlan_filter_request (self, skb) 33 * Function irlan_filter_request (self, skb)
diff --git a/net/irda/qos.c b/net/irda/qos.c
index df732d56cc57..ddfb5c502a90 100644
--- a/net/irda/qos.c
+++ b/net/irda/qos.c
@@ -37,6 +37,7 @@
37#include <net/irda/parameters.h> 37#include <net/irda/parameters.h>
38#include <net/irda/qos.h> 38#include <net/irda/qos.h>
39#include <net/irda/irlap.h> 39#include <net/irda/irlap.h>
40#include <net/irda/irlap_frame.h>
40 41
41/* 42/*
42 * Maximum values of the baud rate we negociate with the other end. 43 * Maximum values of the baud rate we negociate with the other end.