[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_ARMEMU_H
#define __PLATFORM_ARMEMU_H
#pragma once
#include <platform/armemu/memmap.h>
@@ -18,5 +17,3 @@ void debug_dump_memory_words(void *mem, int len);
void debug_set_trace_level(int trace_type, int level);
#endif

View File

@@ -5,8 +5,7 @@
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#ifndef __MEMMAP_H
#define __MEMMAP_H
#pragma once
#define MEMBANK_SIZE (4*1024*1024)
@@ -157,4 +156,3 @@
#define BDEV_CMD_ERR_GENERAL (1 << BDEV_CMD_ERRSHIFT)
#define BDEV_CMD_ERR_BAD_OFFSET (2 << BDEV_CMD_ERRSHIFT)
#endif

View File

@@ -5,13 +5,10 @@
* 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(void);
void platform_init_blkdev(void);
void platform_init_display(void);
#endif