From 33ce7200ce36f0c9a885d4deaf47176dcaa1e5c1 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 25 Sep 2024 10:32:07 +0200 Subject: [PATCH] rename header guards --- src/ui4x_bitmaps_big_font.h | 6 +++--- src/ui4x_bitmaps_misc.h | 6 +++--- src/ui4x_bitmaps_small_font.h | 6 +++--- src/ui4x_common.h | 6 +++--- src/ui4x_config.h | 6 +++--- src/ui4x_inner.h | 6 +++--- src/ui4x_ncurses.h | 6 +++--- src/ui4x_sdl2.h | 6 +++--- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/ui4x_bitmaps_big_font.h b/src/ui4x_bitmaps_big_font.h index 88e8fc3..a70207e 100644 --- a/src/ui4x_bitmaps_big_font.h +++ b/src/ui4x_bitmaps_big_font.h @@ -1,5 +1,5 @@ -#ifndef _UI48_BITMAPS_BIG_FONT_H -#define _UI48_BITMAPS_BIG_FONT_H 1 +#ifndef _UI4x_BITMAPS_BIG_FONT_H +#define _UI4x_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 /* _UI48_BITMAPS_BIG_FONT_H 1 */ +#endif /* _UI4x_BITMAPS_BIG_FONT_H 1 */ diff --git a/src/ui4x_bitmaps_misc.h b/src/ui4x_bitmaps_misc.h index b87be0a..43bc07a 100644 --- a/src/ui4x_bitmaps_misc.h +++ b/src/ui4x_bitmaps_misc.h @@ -1,5 +1,5 @@ -#ifndef _UI48_BITMAPS_MISC_H -#define _UI48_BITMAPS_MISC_H 1 +#ifndef _UI4x_BITMAPS_MISC_H +#define _UI4x_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 /* _UI48_BITMAPS_MISC_H 1 */ +#endif /* _UI4x_BITMAPS_MISC_H 1 */ diff --git a/src/ui4x_bitmaps_small_font.h b/src/ui4x_bitmaps_small_font.h index e0cf6cd..2979826 100644 --- a/src/ui4x_bitmaps_small_font.h +++ b/src/ui4x_bitmaps_small_font.h @@ -1,5 +1,5 @@ -#ifndef _UI48_BITMAPS_SMALL_FONT_H -#define _UI48_BITMAPS_SMALL_FONT_H 1 +#ifndef _UI4x_BITMAPS_SMALL_FONT_H +#define _UI4x_BITMAPS_SMALL_FONT_H 1 #define blank_width 4 #define blank_height 7 @@ -420,4 +420,4 @@ static unsigned char arrow_48gx_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0 #define equal_48gx_height 12 static unsigned char equal_48gx_bits[] = { 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00 }; -#endif /* _UI48_BITMAPS_SMALL_FONT_H 1 */ +#endif /* _UI4x_BITMAPS_SMALL_FONT_H 1 */ diff --git a/src/ui4x_common.h b/src/ui4x_common.h index 6a6cb3d..84beb50 100644 --- a/src/ui4x_common.h +++ b/src/ui4x_common.h @@ -1,5 +1,5 @@ -#ifndef _UI48_COMMON_H -#define _UI48_COMMON_H 1 +#ifndef _UI4x_COMMON_H +#define _UI4x_COMMON_H 1 #include "ui4x_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 /* !_UI48_COMMON_H */ +#endif /* !_UI4x_COMMON_H */ diff --git a/src/ui4x_config.h b/src/ui4x_config.h index 91e92da..ab91516 100644 --- a/src/ui4x_config.h +++ b/src/ui4x_config.h @@ -1,5 +1,5 @@ -#ifndef _UI48_CONFIG_H -#define _UI48_CONFIG_H 1 +#ifndef _UI4x_CONFIG_H +#define _UI4x_CONFIG_H 1 #include @@ -38,4 +38,4 @@ typedef struct { /*************/ extern config_t* config_init( int argc, char* argv[] ); -#endif /* !_UI48_CONFIG_H */ +#endif /* !_UI4x_CONFIG_H */ diff --git a/src/ui4x_inner.h b/src/ui4x_inner.h index 4a155a5..593a536 100644 --- a/src/ui4x_inner.h +++ b/src/ui4x_inner.h @@ -1,5 +1,5 @@ -#ifndef _UI48_INNER_H -#define _UI48_INNER_H 1 +#ifndef _UI4x_INNER_H +#define _UI4x_INNER_H 1 #include "ui4x_emulator.h" @@ -90,4 +90,4 @@ extern button_t buttons_48gx[ NB_KEYS ]; extern int SmallTextWidth( const char* string, unsigned int length ); extern int BigTextWidth( const char* string, unsigned int length ); -#endif /* _UI48_INNER_H */ +#endif /* _UI4x_INNER_H */ diff --git a/src/ui4x_ncurses.h b/src/ui4x_ncurses.h index c914649..ba14a17 100644 --- a/src/ui4x_ncurses.h +++ b/src/ui4x_ncurses.h @@ -1,6 +1,6 @@ -#ifndef _UI48_NCURSES_H -#define _UI48_NCURSES_H 1 +#ifndef _UI4x_NCURSES_H +#define _UI4x_NCURSES_H 1 extern void setup_frontend_ncurses( void ); -#endif /* _UI48_NCURSES_H */ +#endif /* _UI4x_NCURSES_H */ diff --git a/src/ui4x_sdl2.h b/src/ui4x_sdl2.h index e2fefc2..e8abc75 100644 --- a/src/ui4x_sdl2.h +++ b/src/ui4x_sdl2.h @@ -1,6 +1,6 @@ -#ifndef _UI48_SDL2_H -#define _UI48_SDL2_H 1 +#ifndef _UI4x_SDL2_H +#define _UI4x_SDL2_H 1 extern void setup_frontend_sdl( void ); -#endif /* _UI48_SDL2_H */ +#endif /* _UI4x_SDL2_H */