From: Adrian Bunk <bunk@stusta.de>
To: Victor Krapivin <vik@belcaf.minsk.by>
Cc: vojtech@suse.cz, linux-input@atrey.karlin.mff.cuni.cz,
linux-kernel@vger.kernel.org
Subject: [2.6 patch] input/gameport/cs461x.c: make 2 functions static
Date: Sat, 5 Feb 2005 03:41:32 +0100 [thread overview]
Message-ID: <20050205024132.GI19408@stusta.de> (raw)
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.11-rc3-mm1-full/drivers/input/gameport/cs461x.c.old 2005-02-05 03:23:44.000000000 +0100
+++ linux-2.6.11-rc3-mm1-full/drivers/input/gameport/cs461x.c 2005-02-05 03:24:21.000000000 +0100
@@ -318,12 +318,12 @@
.remove = __devexit_p(cs461x_pci_remove),
};
-int __init cs461x_init(void)
+static int __init cs461x_init(void)
{
return pci_module_init(&cs461x_pci_driver);
}
-void __exit cs461x_exit(void)
+static void __exit cs461x_exit(void)
{
pci_unregister_driver(&cs461x_pci_driver);
}
next reply other threads:[~2005-02-05 2:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-05 2:41 Adrian Bunk [this message]
2005-02-05 6:23 ` [2.6 patch] input/gameport/cs461x.c: make 2 functions static Vojtech Pavlik
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=20050205024132.GI19408@stusta.de \
--to=bunk@stusta.de \
--cc=linux-input@atrey.karlin.mff.cuni.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=vik@belcaf.minsk.by \
--cc=vojtech@suse.cz \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.