Remove leading underscores from QEMU defines

Leading underscores followed by a capital letter or underscore are
reserved by the C standard.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/369

Signed-off-by: Ahmed Abouzied <email@aabouzied.com>
Message-Id: <20210605174938.13782-1-email@aabouzied.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Ahmed Abouzied 2021-06-05 19:49:38 +02:00 committed by Thomas Huth
parent e2abbeac7a
commit e52ee00dab
10 changed files with 20 additions and 20 deletions

View file

@ -39,8 +39,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __DWC2_HW_H__
#define __DWC2_HW_H__
#ifndef DWC2_HW_H
#define DWC2_HW_H
#define HSOTG_REG(x) (x)

View file

@ -22,8 +22,8 @@
* THE SOFTWARE.
*/
#ifndef _XLNX_VERSAL_USB_SUBSYSTEM_H_
#define _XLNX_VERSAL_USB_SUBSYSTEM_H_
#ifndef XLNX_VERSAL_USB_SUBSYSTEM_H
#define XLNX_VERSAL_USB_SUBSYSTEM_H
#include "hw/usb/xlnx-versal-usb2-ctrl-regs.h"
#include "hw/usb/hcd-dwc3.h"

View file

@ -23,8 +23,8 @@
* THE SOFTWARE.
*/
#ifndef _XLNX_USB2_REGS_H_
#define _XLNX_USB2_REGS_H_
#ifndef XLNX_USB2_REGS_H
#define XLNX_USB2_REGS_H
#define TYPE_XILINX_VERSAL_USB2_CTRL_REGS "xlnx.versal-usb2-ctrl-regs"