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:
Peter Hutterer 2014-06-06 09:44:43 +10:00
parent 83ee3c9962
commit 51d28f215e

View file

@ -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;