You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
589 B
16 lines
589 B
diff -Naur ceph-10.2.10.orig/src/global/signal_handler.h ceph-10.2.10/src/global/signal_handler.h
|
|
--- ceph-10.2.10.orig/src/global/signal_handler.h 2017-10-04 16:19:25.000000000 +0200
|
|
+++ ceph-10.2.10/src/global/signal_handler.h 2021-03-07 21:29:10.000445565 +0100
|
|
@@ -22,11 +22,7 @@
|
|
|
|
typedef void (*signal_handler_t)(int);
|
|
|
|
-#ifndef HAVE_REENTRANT_STRSIGNAL
|
|
-# define sig_str(signum) sys_siglist[signum]
|
|
-#else
|
|
-# define sig_str(signum) strsignal(signum)
|
|
-#endif
|
|
+#define sig_str(signum) strsignal(signum)
|
|
|
|
void install_sighandler(int signum, signal_handler_t handler, int flags);
|
|
|