mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
a8b991b52d
commit
177d9e0da0
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef QEMU_CAPSTONE_H
|
||||
#define QEMU_CAPSTONE_H 1
|
||||
#define QEMU_CAPSTONE_H
|
||||
|
||||
#ifdef CONFIG_CAPSTONE
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
*/
|
||||
|
||||
#ifndef QEMU_STATS64_H
|
||||
#define QEMU_STATS64_H 1
|
||||
#define QEMU_STATS64_H
|
||||
|
||||
#include "qemu/atomic.h"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef SCSI_UTILS_H
|
||||
#define SCSI_UTILS_H 1
|
||||
#define SCSI_UTILS_H
|
||||
|
||||
#ifdef CONFIG_LINUX
|
||||
#include <scsi/sg.h>
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
|
||||
#ifndef HVF_X86_H
|
||||
#define HVF_X86_H 1
|
||||
#define HVF_X86_H
|
||||
|
||||
typedef struct x86_register {
|
||||
union {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
|
||||
#ifndef HVF_X86_DESCR_H
|
||||
#define HVF_X86_DESCR_H 1
|
||||
#define HVF_X86_DESCR_H
|
||||
|
||||
#include "x86.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue