[includes] replace header guards with #pragma once
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user