Module Name: src
Committed By: kre
Date: Sat Nov 2 16:10:31 UTC 2024
Modified Files:
src/lib/libc/string: __strsignal.c
Log Message:
Delete unnecessary definitions of SIGRTMIN & SIGRTMAX
Long ago, SIGRTMIN & SIGRTMAX were #ifdef _KERNEL in
<sys/signal.h> so duplicate definitions were added
here (#ifndef SIGRTMIN so the duplicates vanished for
all practical purposes in 2016 when the symbols were
exposed to userland).
NFC (unless someone hides SIGRTMIN & SIGRTMAX again).
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/libc/string/__strsignal.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/string/__strsignal.c
diff -u src/lib/libc/string/__strsignal.c:1.27 src/lib/libc/string/__strsignal.c:1.28
--- src/lib/libc/string/__strsignal.c:1.27 Sat Nov 2 15:47:02 2024
+++ src/lib/libc/string/__strsignal.c Sat Nov 2 16:10:31 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: __strsignal.c,v 1.27 2024/11/02 15:47:02 kre Exp $ */
+/* $NetBSD: __strsignal.c,v 1.28 2024/11/02 16:10:31 kre Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -34,7 +34,7 @@
#if 0
static char *sccsid = "@(#)strerror.c 5.6 (Berkeley) 5/4/91";
#else
-__RCSID("$NetBSD: __strsignal.c,v 1.27 2024/11/02 15:47:02 kre Exp $");
+__RCSID("$NetBSD: __strsignal.c,v 1.28 2024/11/02 16:10:31 kre Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -49,10 +49,6 @@ __RCSID("$NetBSD: __strsignal.c,v 1.27 2
#include <string.h>
#include "extern.h"
#include <signal.h>
-#ifndef SIGRTMIN /* XXX: Until we remove the #ifdef _KERNEL */
-#define SIGRTMIN 33
-#define SIGRTMAX 63
-#endif
/* ARGSUSED */
const char *