Module Name: src Committed By: kre Date: Thu Sep 19 13:16:30 UTC 2024
Modified Files: src/sys/sys: signal.h Log Message: PR lib/58674 bsd_signal should only be visible with _NETBSD_SOURCE - it isn't any kind of standard function (despite also existing in other systems). This change inspired by the PR, but doesn't fix it in any way, the tools config script for gmake doesn't care if the function is visible in any header, merely if present in libc. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/sys/signal.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/signal.h diff -u src/sys/sys/signal.h:1.76 src/sys/sys/signal.h:1.77 --- src/sys/sys/signal.h:1.76 Mon Sep 9 12:01:16 2024 +++ src/sys/sys/signal.h Thu Sep 19 13:16:30 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: signal.h,v 1.76 2024/09/09 12:01:16 riastradh Exp $ */ +/* $NetBSD: signal.h,v 1.77 2024/09/19 13:16:30 kre Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1991, 1993 @@ -318,11 +318,11 @@ struct sigevent { */ __BEGIN_DECLS void (*signal(int, void (*)(int)))(int); -void (*bsd_signal(int, void (*)(int)))(int); #if (_POSIX_C_SOURCE - 0) >= 200112L || defined(_NETBSD_SOURCE) int sigqueue(pid_t, int, const union sigval); #endif #if defined(_NETBSD_SOURCE) +void (*bsd_signal(int, void (*)(int)))(int); int sigqueueinfo(pid_t, const siginfo_t *); #endif __END_DECLS