change sig_atomic_t from long to int matching all the other archs
authorjsg <jsg@openbsd.org>
Thu, 13 May 2021 08:44:18 +0000 (08:44 +0000)
committerjsg <jsg@openbsd.org>
Thu, 13 May 2021 08:44:18 +0000 (08:44 +0000)
ok kettenis@

sys/arch/riscv64/include/signal.h

index cff8d6a..952354b 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: signal.h,v 1.2 2021/05/12 01:20:52 jsg Exp $  */
+/*     $OpenBSD: signal.h,v 1.3 2021/05/13 08:44:18 jsg Exp $  */
 
 /*-
  * Copyright (c) 1986, 1989, 1991, 1993
@@ -39,7 +39,7 @@
 
 #include <sys/cdefs.h>
 
-typedef        long sig_atomic_t;
+typedef int sig_atomic_t;
 
 #if __BSD_VISIBLE || __XPG_VISIBLE >= 420