mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Clean up header guards that don't match their file name
Header guard symbols should match their file name to make guard collisions less likely. Offenders found with scripts/clean-header-guards.pl -vn. Cleaned up with scripts/clean-header-guards.pl, followed by some renaming of new guard symbols picked by the script to better ones. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
85aad98a0e
commit
121d07125b
83 changed files with 223 additions and 215 deletions
|
@ -1,5 +1,5 @@
|
|||
#ifndef APB_PCI_H
|
||||
#define APB_PCI_H
|
||||
#ifndef PCI_HOST_APB_H
|
||||
#define PCI_HOST_APB_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef PPCE500_PCI_H
|
||||
#define PPCE500_PCI_H
|
||||
#ifndef PCI_HOST_PPCE500_H
|
||||
#define PCI_HOST_PPCE500_H
|
||||
|
||||
static inline int ppce500_pci_map_irq_slot(int devno, int irq_num)
|
||||
{
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#if !defined(__HW_SPAPR_PCI_H__)
|
||||
#define __HW_SPAPR_PCI_H__
|
||||
#ifndef PCI_HOST_SPAPR_H
|
||||
#define PCI_HOST_SPAPR_H
|
||||
|
||||
#include "hw/ppc/spapr.h"
|
||||
#include "hw/pci/pci.h"
|
||||
|
@ -153,4 +153,4 @@ static inline void spapr_phb_vfio_reset(DeviceState *qdev)
|
|||
|
||||
void spapr_phb_dma_reset(sPAPRPHBState *sphb);
|
||||
|
||||
#endif /* __HW_SPAPR_PCI_H__ */
|
||||
#endif /* PCI_HOST_SPAPR_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue