Skip to content

Commit

Permalink
[IRDA]: IrDA prototype fixes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Sep 6, 2005
1 parent 8c5955d commit 506e7be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/irda/irlan_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
1 change: 1 addition & 0 deletions net/irda/irlan/irlan_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions net/irda/qos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 506e7be

Please sign in to comment.