From 0977bd1e889aae7c131863a72f37c71bfa0345d1 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Mon, 30 May 2016 13:51:27 +0000 Subject: Fix the signature of the psignal() function. POSIX 2008 added the psignal() function which has already been part of the BSDs for a long time. The only difference is, the POSIX version uses an 'int' for the signal number, unlike our version which uses an 'unsigned int'. Fix up the function to use an 'int'. This should not affect the ABI. --- include/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/signal.h') diff --git a/include/signal.h b/include/signal.h index 217faddea03d..9f33fb66d8c5 100644 --- a/include/signal.h +++ b/include/signal.h @@ -113,7 +113,7 @@ int siginterrupt(int, int); #endif #if __POSIX_VISIBLE >= 200809 -void psignal(unsigned int, const char *); +void psignal(int, const char *); #endif #if __BSD_VISIBLE -- cgit v1.2.3