projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83ee3c9
)
test: fix compiler warning for is_debugger_attached
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 5 Jun 2014 23:44:43 +0000
(09:44 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 10 Jun 2014 10:54:38 +0000
(20:54 +1000)
litest.c:207:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
test/litest.c
patch
|
blob
|
history
diff --git
a/test/litest.c
b/test/litest.c
index 6e31e363a709e02c6e4a112faff09f23ac6da883..d287215b6b252f667094f84b56c187062170895a 100644
(file)
--- 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;