mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-07 07:40:16 +01:00
test: fix compiler warning for is_debugger_attached
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>
This commit is contained in:
parent
83ee3c9962
commit
51d28f215e
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue