]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
Normalize header guard symbol definition.
authorMarkus Armbruster <armbru@redhat.com>
Fri, 15 Mar 2019 14:51:22 +0000 (15:51 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 13 May 2019 06:58:55 +0000 (08:58 +0200)
We commonly define the header guard symbol without an explicit value.
Normalize the exceptions.

Done with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190315145123.28030-8-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
12 files changed:
hw/timer/m48t59-internal.h
include/disas/capstone.h
include/hw/scsi/emulation.h
include/qemu/stats64.h
include/qemu/sys_membarrier.h
include/qemu/systemd.h
include/scsi/utils.h
include/ui/kbd-state.h
scsi/pr-helper.h
target/i386/hvf/x86.h
target/i386/hvf/x86_decode.h
target/i386/hvf/x86_descr.h

index d0f0caf3c7d7e11d91b634167f893df6567e5206..4d4f2a6fed9489a1dd477fce0dd4a93c0b491df3 100644 (file)
@@ -22,8 +22,9 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef HW_M48T59_INTERNAL_H
-#define HW_M48T59_INTERNAL_H 1
+#define HW_M48T59_INTERNAL_H
 
 #define M48T59_DEBUG 0
 
index 84e214956d00e06022d77036183d9b01beb13d6a..e29068dd977a58843e3db7ec28510e9d2e5fc6c3 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef QEMU_CAPSTONE_H
-#define QEMU_CAPSTONE_H 1
+#define QEMU_CAPSTONE_H
 
 #ifdef CONFIG_CAPSTONE
 
index 09fba1ff39ce9fc309ee7ca925d3cfb6daa3ad2c..9521704326e5efa2e385d923fd9a720377bf9d7a 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_SCSI_EMULATION_H
-#define HW_SCSI_EMULATION_H 1
+#define HW_SCSI_EMULATION_H
 
 typedef struct SCSIBlockLimits {
     bool wsnz;
index 4a357b3e9d33d2b15d80eb14022c5642151b7216..19a5ac4c56742a9e844dfb8dea168ab03496f681 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #ifndef QEMU_STATS64_H
-#define QEMU_STATS64_H 1
+#define QEMU_STATS64_H
 
 #include "qemu/atomic.h"
 
index 316e3dc4a27a023af6de5a1be79a1fe44b9ed55d..b5bfa21d521cec579eb93c8566be30fbbd18f186 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef QEMU_SYS_MEMBARRIER_H
-#define QEMU_SYS_MEMBARRIER_H 1
+#define QEMU_SYS_MEMBARRIER_H
 
 #ifdef CONFIG_MEMBARRIER
 /* Only block reordering at the compiler level in the performance-critical
index e6a877e5c642db8baf7731e25f8048eadba26e61..f0ea1266d5604c443891173cf6e8219becbbfaef 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 #ifndef QEMU_SYSTEMD_H
-#define QEMU_SYSTEMD_H 1
+#define QEMU_SYSTEMD_H
 
 #define FIRST_SOCKET_ACTIVATION_FD 3 /* defined by systemd ABI */
 
index 4b705f5e0f69d5a7292b8dfab26b54912eafde9e..9351b21ead9e681efb806d02ee496ae5603274da 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef SCSI_UTILS_H
-#define SCSI_UTILS_H 1
+#define SCSI_UTILS_H
 
 #ifdef CONFIG_LINUX
 #include <scsi/sg.h>
index d87833553a573d382712f6578028fadd6341d65b..eb9067dd532c2e76db336d8542b4d1e8424e8208 100644 (file)
@@ -3,8 +3,9 @@
  * (at your option) any later version.  See the COPYING file in the
  * top-level directory.
  */
+
 #ifndef QEMU_UI_KBD_STATE_H
-#define QEMU_UI_KBD_STATE_H 1
+#define QEMU_UI_KBD_STATE_H
 
 #include "qapi/qapi-types-ui.h"
 
index 096d1f1df6fe8b15b4067b60d81691b8de2b00d8..e26e104ec761ff598471bb2f7222c90d19f60f42 100644 (file)
@@ -23,8 +23,9 @@
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  * IN THE SOFTWARE.
  */
+
 #ifndef QEMU_PR_HELPER_H
-#define QEMU_PR_HELPER_H 1
+#define QEMU_PR_HELPER_H
 
 #define PR_HELPER_CDB_SIZE     16
 #define PR_HELPER_SENSE_SIZE   96
index 103ec0976c19f3e3f25df8543e691fca14e0f1a6..c95d5b21167406fb27107f7b8c658605d61babe2 100644 (file)
@@ -17,7 +17,7 @@
  */
 
 #ifndef HVF_X86_H
-#define HVF_X86_H 1
+#define HVF_X86_H
 
 typedef struct x86_register {
     union {
index ef4bcab3103f4e76b5041cb0187d1058fb44ef0b..bc574a7a449ea58724f4c119fc3682879b984d88 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #ifndef HVF_X86_DECODE_H
-#define HVF_X86_DECODE_H 1
+#define HVF_X86_DECODE_H
 
 #include "cpu.h"
 #include "x86.h"
index 25a2b1731c1b2605bc32f3e5f061eb4fa355b41c..049ef9a417e9bbfe35aeb3b00a7cd4d5e541dc1f 100644 (file)
@@ -17,7 +17,7 @@
  */
 
 #ifndef HVF_X86_DESCR_H
-#define HVF_X86_DESCR_H 1
+#define HVF_X86_DESCR_H
 
 #include "x86.h"