netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] IrDA prototype fixes
Date: Sat, 3 Sep 2005 03:47:31 +0200	[thread overview]
Message-ID: <20050903014731.GH3657@stusta.de> (raw)

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>

---

 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(-)

--- linux-2.6.13-mm1-full/net/irda/qos.c.old	2005-09-03 02:23:07.000000000 +0200
+++ linux-2.6.13-mm1-full/net/irda/qos.c	2005-09-03 02:23:31.000000000 +0200
@@ -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.
--- linux-2.6.13-mm1-full/include/net/irda/irlan_filter.h.old	2005-09-03 02:43:20.000000000 +0200
+++ linux-2.6.13-mm1-full/include/net/irda/irlan_filter.h	2005-09-03 02:43:29.000000000 +0200
@@ -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 */
--- linux-2.6.13-mm1-full/net/irda/irlan/irlan_filter.c.old	2005-09-03 02:25:06.000000000 +0200
+++ linux-2.6.13-mm1-full/net/irda/irlan/irlan_filter.c	2005-09-03 02:25:24.000000000 +0200
@@ -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)

                 reply	other threads:[~2005-09-03  1:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050903014731.GH3657@stusta.de \
    --to=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).