summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-20 18:27:49 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-20 19:16:01 -0400
commit131c01dbe9b5f71f8c913d1ebb10c926a47ac6a6 (patch)
tree943be36d1c02010f2c80f324c9d285e2ea1d8746
parent4750fade135aed733aa7a5fda7c670e6b4391538 (diff)
Make two functions static
-rw-r--r--src/core/syscall-list.c3
-rw-r--r--src/udev/keymap/keymap.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/syscall-list.c b/src/core/syscall-list.c
index b608e8582f..35216b2a88 100644
--- a/src/core/syscall-list.c
+++ b/src/core/syscall-list.c
@@ -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"
diff --git a/src/udev/keymap/keymap.c b/src/udev/keymap/keymap.c
index 27aaf6b670..ae0a19d3a3 100644
--- a/src/udev/keymap/keymap.c
+++ b/src/udev/keymap/keymap.c
@@ -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"