All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] input/gameport/cs461x.c: make 2 functions static
@ 2005-02-05  2:41 Adrian Bunk
  2005-02-05  6:23 ` Vojtech Pavlik
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-02-05  2:41 UTC (permalink / raw)
  To: Victor Krapivin; +Cc: vojtech, linux-input, linux-kernel

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);
 }


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] input/gameport/cs461x.c: make 2 functions static
  2005-02-05  2:41 [2.6 patch] input/gameport/cs461x.c: make 2 functions static Adrian Bunk
@ 2005-02-05  6:23 ` Vojtech Pavlik
  0 siblings, 0 replies; 2+ messages in thread
From: Vojtech Pavlik @ 2005-02-05  6:23 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Victor Krapivin, linux-input, linux-kernel

On Sat, Feb 05, 2005 at 03:41:32AM +0100, Adrian Bunk wrote:
> This patch makes two needlessly global functions static.
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

Thanks, applied.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-05  6:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-05  2:41 [2.6 patch] input/gameport/cs461x.c: make 2 functions static Adrian Bunk
2005-02-05  6:23 ` Vojtech Pavlik

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.