From: Jean Tourrilhes <jt@bougret.hpl.hp.com>
To: "David S. Miller" <davem@redhat.com>,
Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.6 IrDA] static_taskkick
Date: Wed, 25 Feb 2004 19:17:28 -0800 [thread overview]
Message-ID: <20040226031728.GJ32263@bougret.hpl.hp.com> (raw)
irXXX_static_taskkick.diff :
~~~~~~~~~~~~~~~~~~~~~~~~~~
<Patch from Stephen Hemminger>
o [FEATURE] make more symbol static (namespace pollution)
diff -Nru a/include/net/irda/irda_device.h b/include/net/irda/irda_device.h
--- a/include/net/irda/irda_device.h Mon Feb 16 10:34:17 2004
+++ b/include/net/irda/irda_device.h Mon Feb 16 10:34:17 2004
@@ -237,7 +237,6 @@
#endif
void irda_task_delete(struct irda_task *task);
-int irda_task_kick(struct irda_task *task);
struct irda_task *irda_task_execute(void *instance,
IRDA_TASK_CALLBACK function,
IRDA_TASK_CALLBACK finished,
diff -Nru a/net/irda/irda_device.c b/net/irda/irda_device.c
--- a/net/irda/irda_device.c Mon Feb 16 10:34:17 2004
+++ b/net/irda/irda_device.c Mon Feb 16 10:34:17 2004
@@ -248,7 +248,7 @@
* processing, and notify the parent task, that is waiting for this task
* to complete.
*/
-int irda_task_kick(struct irda_task *task)
+static int irda_task_kick(struct irda_task *task)
{
int finished = TRUE;
int count = 0;
diff -Nru a/net/irda/irsyms.c b/net/irda/irsyms.c
--- a/net/irda/irsyms.c Mon Feb 16 10:34:17 2004
+++ b/net/irda/irsyms.c Mon Feb 16 10:34:17 2004
@@ -159,7 +159,6 @@
EXPORT_SYMBOL(irda_device_register_dongle);
EXPORT_SYMBOL(irda_device_unregister_dongle);
EXPORT_SYMBOL(irda_task_execute);
-EXPORT_SYMBOL(irda_task_kick);
EXPORT_SYMBOL(irda_task_next_state);
EXPORT_SYMBOL(irda_task_delete);
reply other threads:[~2004-02-26 3:18 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=20040226031728.GJ32263@bougret.hpl.hp.com \
--to=jt@bougret.hpl.hp.com \
--cc=davem@redhat.com \
--cc=jt@hpl.hp.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®