Deleted Added
full compact
t_raise.c (272458) t_raise.c (272910)
1/* $NetBSD: t_raise.c,v 1.5 2011/05/10 12:43:42 jruoho Exp $ */
2
3/*-
4 * Copyright (c) 2011 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jukka Ruohonen.

--- 29 unchanged lines hidden (view full) ---

38#include <time.h>
39#include <unistd.h>
40
41static bool fail;
42static int count;
43static void handler_err(int);
44static void handler_ret(int);
45static void handler_stress(int);
1/* $NetBSD: t_raise.c,v 1.5 2011/05/10 12:43:42 jruoho Exp $ */
2
3/*-
4 * Copyright (c) 2011 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jukka Ruohonen.

--- 29 unchanged lines hidden (view full) ---

38#include <time.h>
39#include <unistd.h>
40
41static bool fail;
42static int count;
43static void handler_err(int);
44static void handler_ret(int);
45static void handler_stress(int);
46#if defined(__FreeBSD__)
47static int sig[] = { SIGALRM, SIGIO, SIGUSR1, SIGUSR2 };
48#else
46static int sig[] = { SIGALRM, SIGIO, SIGUSR1, SIGUSR2, SIGPWR };
49static int sig[] = { SIGALRM, SIGIO, SIGUSR1, SIGUSR2, SIGPWR };
50#endif
47
48static void
49handler_stress(int signo)
50{
51 count++;
52}
53
54static void

--- 136 unchanged lines hidden ---
51
52static void
53handler_stress(int signo)
54{
55 count++;
56}
57
58static void

--- 136 unchanged lines hidden ---