update header guards

This commit is contained in:
Gwenhael Le Moine 2024-09-24 10:56:46 +02:00
parent 17fcd8d993
commit 01d9eecd38
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
8 changed files with 24 additions and 24 deletions

View file

@ -1,5 +1,5 @@
#ifndef _UI_BIG_FONT_H
#define _UI_BIG_FONT_H 1
#ifndef _UI48_BITMAPS_BIG_FONT_H
#define _UI48_BITMAPS_BIG_FONT_H 1
#define big_font_dot_width 8
#define big_font_dot_height 13
@ -169,4 +169,4 @@ static unsigned char big_font_X_bits[] = {
51, 51, 30, 30, 12, 12, 30, 30, 51, 51,
};
#endif /* _UI_BIG_FONT_H 1 */
#endif /* _UI48_BITMAPS_BIG_FONT_H 1 */

View file

@ -1,5 +1,5 @@
#ifndef _UI_BITMAPS_H
#define _UI_BITMAPS_H 1
#ifndef _UI48_BITMAPS_MISC_H
#define _UI48_BITMAPS_MISC_H 1
#define hp_width 96
#define hp_height 24
@ -221,4 +221,4 @@ static unsigned char last_bitmap[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10,
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x29, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xc9, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 };
#endif /* _UI_BITMAPS_H 1 */
#endif /* _UI48_BITMAPS_MISC_H 1 */

View file

@ -1,5 +1,5 @@
#ifndef _UI_SMALL_FONT_H
#define _UI_SMALL_FONT_H 1
#ifndef _UI48_BITMAPS_SMALL_FONT_H
#define _UI48_BITMAPS_SMALL_FONT_H 1
#define blank_width 4
#define blank_height 7
@ -420,4 +420,4 @@ static unsigned char arrow_gx_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0
#define equal_gx_height 12
static unsigned char equal_gx_bits[] = { 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00 };
#endif /* _UI_SMALL_FONT_H 1 */
#endif /* _UI48_BITMAPS_SMALL_FONT_H 1 */

View file

@ -1,5 +1,5 @@
#ifndef _UI_H
#define _UI_H 1
#ifndef _UI48_COMMON_H
#define _UI48_COMMON_H 1
#include "ui48_config.h"
@ -15,4 +15,4 @@ extern void ( *ui_stop )( void );
extern void setup_ui( config_t* config );
extern void close_and_exit( void );
#endif /* !_UI_H */
#endif /* !_UI48_COMMON_H */

View file

@ -1,5 +1,5 @@
#ifndef _CONFIG_H
#define _CONFIG_H 1
#ifndef _UI48_CONFIG_H
#define _UI48_CONFIG_H 1
#include <stdbool.h>
@ -38,4 +38,4 @@ typedef struct {
/*************/
extern config_t* config_init( int argc, char* argv[] );
#endif /* !_CONFIG_H */
#endif /* !_UI48_CONFIG_H */

View file

@ -1,5 +1,5 @@
#ifndef _UI_INNER_H
#define _UI_INNER_H 1
#ifndef _UI48_INNER_H
#define _UI48_INNER_H 1
#include "emulator.h"
@ -90,4 +90,4 @@ extern button_t buttons_gx[ NB_KEYS ];
extern int SmallTextWidth( const char* string, unsigned int length );
extern int BigTextWidth( const char* string, unsigned int length );
#endif /* _UI_INNER_H */
#endif /* _UI48_INNER_H */

View file

@ -1,6 +1,6 @@
#ifndef _UI_NCURSES_H
#define _UI_NCURSES_H 1
#ifndef _UI48_NCURSES_H
#define _UI48_NCURSES_H 1
extern void setup_frontend_ncurses( void );
#endif /* _UI_NCURSES_H */
#endif /* _UI48_NCURSES_H */

View file

@ -1,6 +1,6 @@
#ifndef _UI_SDL2_H
#define _UI_SDL2_H 1
#ifndef _UI48_SDL2_H
#define _UI48_SDL2_H 1
extern void setup_frontend_sdl( void );
#endif /* _UI_SDL2_H */
#endif /* _UI48_SDL2_H */