IrDA prototype fixes
Subsystems (2)
PATCH 1/1 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 <[email protected]>
---
include/net/irda/irlan_filter.h | 2 +- net/irda/irlan/irlan_filter.c | 1 + net/irda/qos.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
net/irda/qos.c renamed from net/irda/qos.c.old +1 -0
@@ -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.
include/net/irda/irlan_filter.h renamed from include/net/irda/irlan_filter.h.old +1 -1
@@ -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 */
net/irda/irlan/irlan_filter.c renamed from net/irda/irlan/irlan_filter.c.old +1 -0
@@ -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)