[PATCH libinput 2/8] test: fix compiler warning for is_debugger_attached
Peter Hutterer
peter.hutterer at who-t.net
Thu Jun 5 23:19:00 PDT 2014
litest.c:207:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
test/litest.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/litest.c b/test/litest.c
index 6e31e36..d287215 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -203,7 +203,8 @@ litest_add(const char *name,
litest_add_tcase(s, func, required, excluded);
}
-int is_debugger_attached()
+static int
+is_debugger_attached(void)
{
int status;
int rc;
--
1.9.3
More information about the wayland-devel
mailing list