[Pommed-commits] r462 - trunk/pommed

jblache at alioth.debian.org jblache at alioth.debian.org
Sun May 18 10:02:45 UTC 2008


Author: jblache
Date: 2008-05-18 10:02:44 +0000 (Sun, 18 May 2008)
New Revision: 462

Modified:
   trunk/pommed/evdev.c
Log:
Make all evdev identification routines static.


Modified: trunk/pommed/evdev.c
===================================================================
--- trunk/pommed/evdev.c	2008-05-18 09:59:57 UTC (rev 461)
+++ trunk/pommed/evdev.c	2008-05-18 10:02:44 UTC (rev 462)
@@ -553,7 +553,7 @@
 #else
 
 /* Core Duo MacBook & MacBook Pro */
-int
+static int
 evdev_is_geyser3(unsigned short *id)
 {
   unsigned short product = id[ID_PRODUCT];
@@ -579,7 +579,7 @@
 }
 
 /* Core2 Duo MacBook & MacBook Pro */
-int
+static int
 evdev_is_geyser4(unsigned short *id)
 {
   unsigned short product = id[ID_PRODUCT];
@@ -606,7 +606,7 @@
 
 /* Core2 Duo Santa Rosa MacBook (MacBook3,1)
    Core2 Duo MacBook (MacBook4,1, February 2008) */
-int
+static int
 evdev_is_geyser4hf(unsigned short *id)
 {
   unsigned short product = id[ID_PRODUCT];
@@ -632,7 +632,7 @@
 }
 
 /* MacBook Air (MacBookAir1,1, January 2008) */
-int
+static int
 evdev_is_wellspring(unsigned short *id)
 {
   unsigned short product = id[ID_PRODUCT];
@@ -658,7 +658,7 @@
 }
 
 /* Core2 Duo MacBook Pro (MacBookPro4,1, February 2008) */
-int
+static int
 evdev_is_wellspring2(unsigned short *id)
 {
   unsigned short product = id[ID_PRODUCT];
@@ -742,7 +742,7 @@
 #endif /* !__powerpc__ */
 
 /* Apple external USB keyboard, white */
-int
+static int
 evdev_is_extkbd_white(unsigned short *id)
 {
   unsigned short product = id[ID_PRODUCT];
@@ -766,7 +766,7 @@
 }
 
 /* Apple external USB keyboard, aluminium */
-int
+static int
 evdev_is_extkbd_alu(unsigned short *id)
 {
   unsigned short product = id[ID_PRODUCT];
@@ -792,7 +792,7 @@
 }
 
 /* Apple external wireless keyboard, aluminium */
-int
+static int
 evdev_is_extkbd_alu_wl(unsigned short *id)
 {
   unsigned short product = id[ID_PRODUCT];
@@ -818,7 +818,7 @@
 }
 
 /* Any external Apple USB keyboard */
-int
+static int
 evdev_is_extkbd(unsigned short *id)
 {
   return (evdev_is_extkbd_white(id) || evdev_is_extkbd_alu(id) || evdev_is_extkbd_alu_wl(id));




More information about the Pommed-commits mailing list