Normalize test code
diff --git a/tests/test-async-sig.c b/tests/test-async-sig.c
index eaa9ce9..5e90690 100644
--- a/tests/test-async-sig.c
+++ b/tests/test-async-sig.c
@@ -23,6 +23,11 @@
/* Check whether basic unwinding truly is async-signal safe. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -32,7 +37,6 @@
#define UNW_LOCAL_ONLY
#include <libunwind.h>
-#include "config.h"
static const int nerrors_max = 100;
@@ -182,4 +186,5 @@
exit (-1);
}
}
+ return (0);
}