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: <20190315145123.28030-8-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
master
Markus Armbruster 2019-03-15 15:51:22 +01:00
parent a8b991b52d
commit 177d9e0da0
12 changed files with 15 additions and 12 deletions

View File

@ -22,8 +22,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#ifndef HW_M48T59_INTERNAL_H #ifndef HW_M48T59_INTERNAL_H
#define HW_M48T59_INTERNAL_H 1 #define HW_M48T59_INTERNAL_H
#define M48T59_DEBUG 0 #define M48T59_DEBUG 0

View File

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

View File

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

View File

@ -10,7 +10,7 @@
*/ */
#ifndef QEMU_STATS64_H #ifndef QEMU_STATS64_H
#define QEMU_STATS64_H 1 #define QEMU_STATS64_H
#include "qemu/atomic.h" #include "qemu/atomic.h"

View File

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

View File

@ -11,7 +11,7 @@
*/ */
#ifndef QEMU_SYSTEMD_H #ifndef QEMU_SYSTEMD_H
#define QEMU_SYSTEMD_H 1 #define QEMU_SYSTEMD_H
#define FIRST_SOCKET_ACTIVATION_FD 3 /* defined by systemd ABI */ #define FIRST_SOCKET_ACTIVATION_FD 3 /* defined by systemd ABI */

View File

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

View File

@ -3,8 +3,9 @@
* (at your option) any later version. See the COPYING file in the * (at your option) any later version. See the COPYING file in the
* top-level directory. * top-level directory.
*/ */
#ifndef QEMU_UI_KBD_STATE_H #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" #include "qapi/qapi-types-ui.h"

View File

@ -23,8 +23,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#ifndef QEMU_PR_HELPER_H #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_CDB_SIZE 16
#define PR_HELPER_SENSE_SIZE 96 #define PR_HELPER_SENSE_SIZE 96

View File

@ -17,7 +17,7 @@
*/ */
#ifndef HVF_X86_H #ifndef HVF_X86_H
#define HVF_X86_H 1 #define HVF_X86_H
typedef struct x86_register { typedef struct x86_register {
union { union {

View File

@ -16,7 +16,7 @@
*/ */
#ifndef HVF_X86_DECODE_H #ifndef HVF_X86_DECODE_H
#define HVF_X86_DECODE_H 1 #define HVF_X86_DECODE_H
#include "cpu.h" #include "cpu.h"
#include "x86.h" #include "x86.h"

View File

@ -17,7 +17,7 @@
*/ */
#ifndef HVF_X86_DESCR_H #ifndef HVF_X86_DESCR_H
#define HVF_X86_DESCR_H 1 #define HVF_X86_DESCR_H
#include "x86.h" #include "x86.h"