1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-15 12:48:12 +01:00

Normalize test code

This commit is contained in:
Konstantin Belousov 2010-04-04 17:09:33 +03:00
parent 980ccffe9e
commit 459b2a5ba8

View file

@ -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. */ /* Check whether basic unwinding truly is async-signal safe. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <signal.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
@ -32,7 +37,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#define UNW_LOCAL_ONLY #define UNW_LOCAL_ONLY
#include <libunwind.h> #include <libunwind.h>
#include "config.h"
static const int nerrors_max = 100; static const int nerrors_max = 100;
@ -182,4 +186,5 @@ main (int argc, char **argv)
exit (-1); exit (-1);
} }
} }
return (0);
} }