mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-23 03:53:43 +01:00
* tests/test-async-sig.c: Move "const" definition to separate area to keep
things a bit neater looking. * tests/test-ptrace.c: Likewise. Signed-off-by: David Mosberger-Tang <dmosberger@gmail.com>
This commit is contained in:
parent
a72abd4e46
commit
5f3d29562d
2 changed files with 4 additions and 2 deletions
|
@ -33,6 +33,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
#define UNW_LOCAL_ONLY
|
||||
#include <libunwind.h>
|
||||
|
||||
static const int nerrors_max = 100;
|
||||
|
||||
struct itimerval interval =
|
||||
{
|
||||
.it_interval = { .tv_sec = 0, .tv_usec = 0 },
|
||||
|
@ -41,7 +43,6 @@ struct itimerval interval =
|
|||
|
||||
int verbose;
|
||||
int nerrors;
|
||||
static const int nerrors_max = 100;
|
||||
int sigcount;
|
||||
|
||||
#define panic(args...) \
|
||||
|
|
|
@ -47,8 +47,9 @@ main (int argc, char **argv)
|
|||
#include <sys/ptrace.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
int nerrors;
|
||||
static const int nerrors_max = 100;
|
||||
|
||||
int nerrors;
|
||||
int verbose;
|
||||
int print_names = 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue