summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2016-05-30 13:51:27 +0000
committered <ed@FreeBSD.org>2016-05-30 13:51:27 +0000
commit68f1f316239562e4a08c9e54b851f916761a9b84 (patch)
tree1cdce214d42751df7acc477c7fd2485654996d05 /include
parent3e4cb7353ede7e585e56a1dec5a9b64630722844 (diff)
downloadFreeBSD-src-68f1f316239562e4a08c9e54b851f916761a9b84.zip
FreeBSD-src-68f1f316239562e4a08c9e54b851f916761a9b84.tar.gz
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.
Diffstat (limited to 'include')
-rw-r--r--include/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/signal.h b/include/signal.h
index 217fadd..9f33fb6 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
OpenPOWER on IntegriCloud