Browse Source

Normalize header guard symbol definition.

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: <2019031514.28030-8-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
master
Markus Armbruster 3 months ago
parent
commit
177d9e0da0

+ 2
- 1
hw/timer/m48t59-internal.h View File

@@ -22,8 +22,9 @@
22 22
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23 23
  * THE SOFTWARE.
24 24
  */
25
+
25 26
 #ifndef HW_M48T59_INTERNAL_H
26
-#define HW_M48T59_INTERNAL_H 1
27
+#define HW_M48T59_INTERNAL_H
27 28
 
28 29
 #define M48T59_DEBUG 0
29 30
 

+ 1
- 1
include/disas/capstone.h View File

@@ -1,5 +1,5 @@
1 1
 #ifndef QEMU_CAPSTONE_H
2
-#define QEMU_CAPSTONE_H 1
2
+#define QEMU_CAPSTONE_H
3 3
 
4 4
 #ifdef CONFIG_CAPSTONE
5 5
 

+ 1
- 1
include/hw/scsi/emulation.h View File

@@ -1,5 +1,5 @@
1 1
 #ifndef HW_SCSI_EMULATION_H
2
-#define HW_SCSI_EMULATION_H 1
2
+#define HW_SCSI_EMULATION_H
3 3
 
4 4
 typedef struct SCSIBlockLimits {
5 5
     bool wsnz;

+ 1
- 1
include/qemu/stats64.h View File

@@ -10,7 +10,7 @@
10 10
  */
11 11
 
12 12
 #ifndef QEMU_STATS64_H
13
-#define QEMU_STATS64_H 1
13
+#define QEMU_STATS64_H
14 14
 
15 15
 #include "qemu/atomic.h"
16 16
 

+ 1
- 1
include/qemu/sys_membarrier.h View File

@@ -7,7 +7,7 @@
7 7
  */
8 8
 
9 9
 #ifndef QEMU_SYS_MEMBARRIER_H
10
-#define QEMU_SYS_MEMBARRIER_H 1
10
+#define QEMU_SYS_MEMBARRIER_H
11 11
 
12 12
 #ifdef CONFIG_MEMBARRIER
13 13
 /* Only block reordering at the compiler level in the performance-critical

+ 1
- 1
include/qemu/systemd.h View File

@@ -11,7 +11,7 @@
11 11
  */
12 12
 
13 13
 #ifndef QEMU_SYSTEMD_H
14
-#define QEMU_SYSTEMD_H 1
14
+#define QEMU_SYSTEMD_H
15 15
 
16 16
 #define FIRST_SOCKET_ACTIVATION_FD 3 /* defined by systemd ABI */
17 17
 

+ 1
- 1
include/scsi/utils.h View File

@@ -1,5 +1,5 @@
1 1
 #ifndef SCSI_UTILS_H
2
-#define SCSI_UTILS_H 1
2
+#define SCSI_UTILS_H
3 3
 
4 4
 #ifdef CONFIG_LINUX
5 5
 #include <scsi/sg.h>

+ 2
- 1
include/ui/kbd-state.h View File

@@ -3,8 +3,9 @@
3 3
  * (at your option) any later version.  See the COPYING file in the
4 4
  * top-level directory.
5 5
  */
6
+
6 7
 #ifndef QEMU_UI_KBD_STATE_H
7
-#define QEMU_UI_KBD_STATE_H 1
8
+#define QEMU_UI_KBD_STATE_H
8 9
 
9 10
 #include "qapi/qapi-types-ui.h"
10 11
 

+ 2
- 1
scsi/pr-helper.h View File

@@ -23,8 +23,9 @@
23 23
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24 24
  * IN THE SOFTWARE.
25 25
  */
26
+
26 27
 #ifndef QEMU_PR_HELPER_H
27
-#define QEMU_PR_HELPER_H 1
28
+#define QEMU_PR_HELPER_H
28 29
 
29 30
 #define PR_HELPER_CDB_SIZE     16
30 31
 #define PR_HELPER_SENSE_SIZE   96

+ 1
- 1
target/i386/hvf/x86.h View File

@@ -17,7 +17,7 @@
17 17
  */
18 18
 
19 19
 #ifndef HVF_X86_H
20
-#define HVF_X86_H 1
20
+#define HVF_X86_H
21 21
 
22 22
 typedef struct x86_register {
23 23
     union {

+ 1
- 1
target/i386/hvf/x86_decode.h View File

@@ -16,7 +16,7 @@
16 16
  */
17 17
 
18 18
 #ifndef HVF_X86_DECODE_H
19
-#define HVF_X86_DECODE_H 1
19
+#define HVF_X86_DECODE_H
20 20
 
21 21
 #include "cpu.h"
22 22
 #include "x86.h"

+ 1
- 1
target/i386/hvf/x86_descr.h View File

@@ -17,7 +17,7 @@
17 17
  */
18 18
 
19 19
 #ifndef HVF_X86_DESCR_H
20
-#define HVF_X86_DESCR_H 1
20
+#define HVF_X86_DESCR_H
21 21
 
22 22
 #include "x86.h"
23 23
 

Loading…
Cancel
Save