[PATCH evemu] test: test-evemu-create.c: declare check_evemu_read() static
Martin Kepplinger
martink at posteo.de
Mon Sep 18 18:42:08 UTC 2017
check_evemu_read() is only use locally in this module. It should be static.
Signed-off-by: Martin Kepplinger <martink at posteo.de>
---
test/test-evemu-create.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test-evemu-create.c b/test/test-evemu-create.c
index 3c79fd0..d5238e5 100644
--- a/test/test-evemu-create.c
+++ b/test/test-evemu-create.c
@@ -67,7 +67,7 @@ static void println(int fd, int flags, const char *format, ...)
va_end(args);
}
-void check_evemu_read(int fd, const char *file, enum flags flags)
+static void check_evemu_read(int fd, const char *file, enum flags flags)
{
FILE *fp;
struct evemu_device *dev;
--
2.11.0
More information about the Input-tools
mailing list