mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43: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
|
@ -20,8 +20,8 @@
|
|||
* with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef HW_TIMER_A9_GTIMER_H_H
|
||||
#define HW_TIMER_A9_GTIMER_H_H
|
||||
#ifndef A9GTIMER_H
|
||||
#define A9GTIMER_H
|
||||
|
||||
#include "hw/sysbus.h"
|
||||
|
||||
|
@ -94,4 +94,4 @@ typedef struct A9GTimerUpdate {
|
|||
uint64_t new;
|
||||
} A9GTimerUpdate;
|
||||
|
||||
#endif /* #ifdef HW_TIMER_A9_GTIMER_H_H */
|
||||
#endif /* A9GTIMER_H */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef AW_A10_PIT_H
|
||||
#define AW_A10_PIT_H
|
||||
#ifndef ALLWINNER_A10_PIT_H
|
||||
#define ALLWINNER_A10_PIT_H
|
||||
|
||||
#include "hw/ptimer.h"
|
||||
|
||||
|
|
|
@ -10,8 +10,9 @@
|
|||
* the COPYING file in the top-level directory.
|
||||
*
|
||||
*/
|
||||
#ifndef QEMU_HPET_EMUL_H
|
||||
#define QEMU_HPET_EMUL_H
|
||||
|
||||
#ifndef HW_HPET_H
|
||||
#define HW_HPET_H
|
||||
|
||||
#include "qom/object.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef NVRAM_H
|
||||
#define NVRAM_H
|
||||
#ifndef HW_M48T59_H
|
||||
#define HW_M48T59_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qom/object.h"
|
||||
|
@ -31,4 +31,4 @@ Nvram *m48t59_init(qemu_irq IRQ, hwaddr mem_base,
|
|||
uint32_t io_base, uint16_t size, int base_year,
|
||||
int type);
|
||||
|
||||
#endif /* !NVRAM_H */
|
||||
#endif /* HW_M48T59_H */
|
||||
|
|
|
@ -21,8 +21,9 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#ifndef RTC_REGS_H
|
||||
#define RTC_REGS_H
|
||||
|
||||
#ifndef MC146818RTC_REGS_H
|
||||
#define MC146818RTC_REGS_H
|
||||
|
||||
#define RTC_ISA_IRQ 8
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue