chiark / gitweb /
Make two functions static
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Mar 2013 22:27:49 +0000 (18:27 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Mar 2013 23:16:01 +0000 (19:16 -0400)
src/core/syscall-list.c
src/udev/keymap/keymap.c

index b608e85..35216b2 100644 (file)
@@ -26,7 +26,8 @@
 
 #include "syscall-list.h"
 
-const struct syscall_name *lookup_syscall(register const char *str, register unsigned int len);
+static const struct syscall_name* lookup_syscall(register const char *str,
+                                                 register unsigned int len);
 
 #include "syscall-to-name.h"
 #include "syscall-from-name.h"
index 27aaf6b..ae0a19d 100644 (file)
@@ -36,7 +36,7 @@
 #include <linux/limits.h>
 #include <linux/input.h>
 
-const struct key* lookup_key (const char *str, unsigned int len);
+static const struct key* lookup_key (const char *str, unsigned int len);
 
 #include "keys-from-name.h"
 #include "keys-to-name.h"