summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/ieeefp/except/except.c
diff options
context:
space:
mode:
authormickey <>2004-10-10 03:06:42 +0000
committermickey <>2004-10-10 03:06:42 +0000
commit8a16cf0bfbdc91bb8136c9cedf795be3e0496e8c (patch)
tree955047d88468295a5691ad08291e899315dcaf3a /src/regress/lib/libc/ieeefp/except/except.c
parent286f2c9acc73fa2c79290ce6e5c7437d99f9f865 (diff)
downloadopenbsd-8a16cf0bfbdc91bb8136c9cedf795be3e0496e8c.tar.gz
openbsd-8a16cf0bfbdc91bb8136c9cedf795be3e0496e8c.tar.bz2
openbsd-8a16cf0bfbdc91bb8136c9cedf795be3e0496e8c.zip
use sig_atomic_t instead of int
Diffstat (limited to 'src/regress/lib/libc/ieeefp/except/except.c')
-rw-r--r--src/regress/lib/libc/ieeefp/except/except.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libc/ieeefp/except/except.c b/src/regress/lib/libc/ieeefp/except/except.c
index f95fa1fdbd..8bf0c81213 100644
--- a/src/regress/lib/libc/ieeefp/except/except.c
+++ b/src/regress/lib/libc/ieeefp/except/except.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: except.c,v 1.7 2004/07/22 19:29:42 kettenis Exp $ */ 1/* $OpenBSD: except.c,v 1.8 2004/10/10 03:06:42 mickey Exp $ */
2 2
3#include <stdio.h> 3#include <stdio.h>
4#include <stdlib.h> 4#include <stdlib.h>
@@ -8,7 +8,7 @@
8#include <float.h> 8#include <float.h>
9#include <err.h> 9#include <err.h>
10 10
11volatile int signal_status; 11volatile sig_atomic_t signal_status;
12 12
13volatile const double one = 1.0; 13volatile const double one = 1.0;
14volatile const double zero = 0.0; 14volatile const double zero = 0.0;