From 459b2a5ba89c3ae0002e741cadbc723e4b1dd0a6 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 4 Apr 2010 17:09:33 +0300 Subject: [PATCH] Normalize test code --- tests/test-async-sig.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/test-async-sig.c b/tests/test-async-sig.c index eaa9ce90..5e906902 100644 --- a/tests/test-async-sig.c +++ b/tests/test-async-sig.c @@ -23,6 +23,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* Check whether basic unwinding truly is async-signal safe. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include #include #include #include @@ -32,7 +37,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #define UNW_LOCAL_ONLY #include -#include "config.h" static const int nerrors_max = 100; @@ -182,4 +186,5 @@ main (int argc, char **argv) exit (-1); } } + return (0); }