[includes] replace header guards with #pragma once

This commit is contained in:
Travis Geiselbrecht
2019-07-06 14:02:47 -07:00
parent d10eb9a8f6
commit 3aecdda231
143 changed files with 146 additions and 544 deletions

View File

@@ -5,8 +5,7 @@
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#ifndef __PLATFORM_GIC_H
#define __PLATFORM_GIC_H
#pragma once
#include <platform/zynq.h>
@@ -14,4 +13,3 @@
#define GICC_OFFSET (0x0100)
#define GICD_OFFSET (0x1000)
#endif

View File

@@ -5,6 +5,7 @@
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
#include <platform/interrupts.h>
#include <platform/zynq.h>

View File

@@ -5,12 +5,9 @@
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#ifndef __PLATFORM_P_H
#define __PLATFORM_P_H
#pragma once
void platform_init_interrupts(void);
void platform_init_timer(uint32_t freq);
void zynq_gpio_init(void);
#endif