1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-22 07:37:38 +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. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -32,7 +37,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#define UNW_LOCAL_ONLY
#include <libunwind.h>
#include "config.h"
static const int nerrors_max = 100;
@ -182,4 +186,5 @@ main (int argc, char **argv)
exit (-1);
}
}
return (0);
}