Blob Blame History Raw
--- ceph-15.2.9/src/include/config-h.in.cmake.orig	2021-02-26 13:32:11.218444320 -0500
+++ ceph-15.2.9/src/include/config-h.in.cmake	2021-02-26 15:00:31.976950884 -0500
@@ -1,7 +1,6 @@
 /* config.h file expanded by Cmake for build */
 
-#ifndef CONFIG_H
-#define CONFIG_H
+#pragma once
 
 /* fallocate(2) is supported */
 #cmakedefine CEPH_HAVE_FALLOCATE
@@ -354,4 +353,3 @@
 /* Define if RWL is enabled */
 #cmakedefine WITH_RBD_RWL
 
-#endif /* CONFIG_H */
--- ceph-15.2.9/src/global/signal_handler.h.orig	2021-02-26 15:34:39.500250672 -0500
+++ ceph-15.2.9/src/global/signal_handler.h	2021-02-26 15:35:39.514842687 -0500
@@ -20,9 +20,9 @@
 
 typedef void (*signal_handler_t)(int);
 
-#ifdef HAVE_SIGDESCR_NP
+#if defined(HAVE_SIGDESCR_NP)
 # define sig_str(signum) sigdescr_np(signum)
-#elif HAVE_REENTRANT_STRSIGNAL
+#elif defined(HAVE_REENTRANT_STRSIGNAL)
 # define sig_str(signum) strsignal(signum)
 #else
 # define sig_str(signum) sys_siglist[signum]