[PATCH evemu] tools: make functions static in evemu-event

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 19 17:04:51 PST 2013


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 tools/evemu-event.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/evemu-event.c b/tools/evemu-event.c
index ffc3184..e44b084 100644
--- a/tools/evemu-event.c
+++ b/tools/evemu-event.c
@@ -38,7 +38,7 @@ static struct option opts[] = {
 	{ "device", required_argument, 0, 'd'}
 };
 
-int parse_arg(const char *arg, long int *value)
+static int parse_arg(const char *arg, long int *value)
 {
 	char *endp;
 
@@ -48,7 +48,7 @@ int parse_arg(const char *arg, long int *value)
 	return 0;
 }
 
-void usage(void)
+static void usage(void)
 {
 	fprintf(stderr, "Usage: %s [--sync] <device> --type <type> --code <code> --value <value>\n", program_invocation_short_name);
 }
-- 
1.8.3.1



More information about the Input-tools mailing list