]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IRDA]: IrDA prototype fixes
authorAdrian Bunk <bunk@stusta.de>
Tue, 6 Sep 2005 01:08:11 +0000 (18:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Sep 2005 01:08:11 +0000 (18:08 -0700)
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>
include/net/irda/irlan_filter.h
net/irda/irlan/irlan_filter.c
net/irda/qos.c

index 3afeb6c94ea4b31337f14275133105aaa83c4177..492dedaa8ac16dacd4cbab84484293a61e636f72 100644 (file)
@@ -28,6 +28,6 @@
 void irlan_check_command_param(struct irlan_cb *self, char *param, 
                               char *value);
 void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb);
-int irlan_print_filter(struct seq_file *seq, int filter_type);
+void irlan_print_filter(struct seq_file *seq, int filter_type);
 
 #endif /* IRLAN_FILTER_H */
index 343c5d4a1a1de4cdc09b80432b45dae6e6b01c9e..ca7d358dab523866d32f67813d6a13781adaff67 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/seq_file.h>
 
 #include <net/irda/irlan_common.h>
+#include <net/irda/irlan_filter.h>
 
 /*
  * Function irlan_filter_request (self, skb)
index df732d56cc577177b1b348b11158ea913c8c108e..ddfb5c502a90468fcc25651080708fd287bfdee5 100644 (file)
@@ -37,6 +37,7 @@
 #include <net/irda/parameters.h>
 #include <net/irda/qos.h>
 #include <net/irda/irlap.h>
+#include <net/irda/irlap_frame.h>
 
 /*
  * Maximum values of the baud rate we negociate with the other end.