diff --git a/src/bin/about.h b/src/bin/about.h index 05bda9e0..a054a48b 100644 --- a/src/bin/about.h +++ b/src/bin/about.h @@ -1,5 +1,5 @@ -#ifndef _ABOUT_H__ -#define _ABOUT_H__ 1 +#ifndef TERMINOLOGY_ABOUT_H_ +#define TERMINOLOGY_ABOUT_H_ 1 void about_show(Evas_Object *win, Evas_Object *base, Evas_Object *term, void (*donecb) (void *data), void *donedata); diff --git a/src/bin/backlog.h b/src/bin/backlog.h index ec0102f9..1a1e054f 100644 --- a/src/bin/backlog.h +++ b/src/bin/backlog.h @@ -1,5 +1,5 @@ -#ifndef _BACKLOG_H__ -#define _BACKLOG_H__ 1 +#ifndef TERMINOLOGY_BACKLOG_H_ +#define TERMINOLOGY_BACKLOG_H_ 1 void termpty_save_register(Termpty *ty); void termpty_save_unregister(Termpty *ty); diff --git a/src/bin/colors.h b/src/bin/colors.h index e2930805..0020fd29 100644 --- a/src/bin/colors.h +++ b/src/bin/colors.h @@ -1,5 +1,5 @@ -#ifndef _COLORS_H__ -#define _COLORS_H__ 1 +#ifndef TERMINOLOGY_COLORS_H_ +#define TERMINOLOGY_COLORS_H_ 1 #include #include "config.h" diff --git a/src/bin/config.h b/src/bin/config.h index fd3c7b1b..c64f3f88 100644 --- a/src/bin/config.h +++ b/src/bin/config.h @@ -1,5 +1,5 @@ -#ifndef _CONFIG_H__ -#define _CONFIG_H__ 1 +#ifndef TERMINOLOGY_CONFIG_H_ +#define TERMINOLOGY_CONFIG_H_ 1 #include diff --git a/src/bin/controls.h b/src/bin/controls.h index 7a50fc13..4d658fe7 100644 --- a/src/bin/controls.h +++ b/src/bin/controls.h @@ -1,5 +1,5 @@ -#ifndef _CONTROLS_H__ -#define _CONTROLS_H__ 1 +#ifndef TERMINOLOGY_CONTROLS_H_ +#define TERMINOLOGY_CONTROLS_H_ 1 void controls_show(Evas_Object *win, Evas_Object *base, Evas_Object *bg, Evas_Object *term, diff --git a/src/bin/extns.h b/src/bin/extns.h index cddeefba..3ee81e77 100644 --- a/src/bin/extns.h +++ b/src/bin/extns.h @@ -1,5 +1,5 @@ -#ifndef _EXTNS_H__ -#define _EXTNS_H__ 1 +#ifndef TERMINOLOGY_EXTNS_H_ +#define TERMINOLOGY_EXTNS_H_ 1 extern const char *extn_img[]; extern const char *extn_scale[]; diff --git a/src/bin/gravatar.h b/src/bin/gravatar.h index 8e05cb97..a68987c7 100644 --- a/src/bin/gravatar.h +++ b/src/bin/gravatar.h @@ -1,5 +1,5 @@ -#ifndef _GRAVATAR_H__ -#define _GRAVATAR_H__ 1 +#ifndef TERMINOLOGY_GRAVATAR_H_ +#define TERMINOLOGY_GRAVATAR_H_ 1 #include "config.h" diff --git a/src/bin/ipc.h b/src/bin/ipc.h index 852915dd..17a8cd5a 100644 --- a/src/bin/ipc.h +++ b/src/bin/ipc.h @@ -1,5 +1,5 @@ -#ifndef _IPC_H__ -#define _IPC_H__ 1 +#ifndef TERMINOLOGY_IPC_H_ +#define TERMINOLOGY_IPC_H_ 1 #include "config.h" diff --git a/src/bin/keyin.h b/src/bin/keyin.h index ccfa644d..9d999d95 100644 --- a/src/bin/keyin.h +++ b/src/bin/keyin.h @@ -1,5 +1,5 @@ -#ifndef _KEYIN_H__ -#define _KEYIN_H__ 1 +#ifndef TERMINOLOGY_KEYIN_H_ +#define TERMINOLOGY_KEYIN_H_ 1 typedef struct _Keys_Handler Keys_Handler; diff --git a/src/bin/main.h b/src/bin/main.h index e870b32a..9ff533eb 100644 --- a/src/bin/main.h +++ b/src/bin/main.h @@ -1,5 +1,5 @@ -#ifndef _MAIN_H__ -#define _MAIN_H__ 1 +#ifndef TERMINOLOGY_MAIN_H_ +#define TERMINOLOGY_MAIN_H_ 1 #include "config.h" diff --git a/src/bin/md5.h b/src/bin/md5.h index cca8e8c8..a36307d2 100644 --- a/src/bin/md5.h +++ b/src/bin/md5.h @@ -1,5 +1,5 @@ -#ifndef _MD5_H_ -#define _MD5_H_ +#ifndef TERMINOLOGY_MD5_H_ +#define TERMINOLOGY_MD5_H_ #include #include diff --git a/src/bin/media.h b/src/bin/media.h index 76df6e5e..06d47e01 100644 --- a/src/bin/media.h +++ b/src/bin/media.h @@ -1,5 +1,5 @@ -#ifndef _MEDIA_H__ -#define _MEDIA_H__ 1 +#ifndef TERMINOLOGY_MEDIA_H_ +#define TERMINOLOGY_MEDIA_H_ 1 #define MEDIA_SIZE_MASK 0x000f #define MEDIA_OPTIONS_MASK 0x00f0 diff --git a/src/bin/miniview.h b/src/bin/miniview.h index 43b6b45c..07a37dcc 100644 --- a/src/bin/miniview.h +++ b/src/bin/miniview.h @@ -1,5 +1,5 @@ -#ifndef _MINIVIEW_H__ -#define _MINIVIEW_H__ 1 +#ifndef TERMINOLOGY_MINIVIEW_H_ +#define TERMINOLOGY_MINIVIEW_H_ 1 #include "termpty.h" diff --git a/src/bin/options.h b/src/bin/options.h index 17325edd..d3ec8b88 100644 --- a/src/bin/options.h +++ b/src/bin/options.h @@ -1,5 +1,5 @@ -#ifndef _TERMINOLOGY_OPTIONS_H__ -#define _TERMINOLOGY_OPTIONS_H__ 1 +#ifndef TERMINOLOGY_TERMINOLOGY_OPTIONS_H_ +#define TERMINOLOGY_TERMINOLOGY_OPTIONS_H_ 1 void options_show(Evas_Object *win, Evas_Object *base, Evas_Object *bg, Evas_Object *term, diff --git a/src/bin/options_background.h b/src/bin/options_background.h index 07f5d37b..a0c739a8 100644 --- a/src/bin/options_background.h +++ b/src/bin/options_background.h @@ -1,5 +1,5 @@ -#ifndef _OPTIONS_BACKGROUND_H__ -#define _OPTIONS_BACKGROUND_H__ 1 +#ifndef TERMINOLOGY_OPTIONS_BACKGROUND_H_ +#define TERMINOLOGY_OPTIONS_BACKGROUND_H_ 1 void options_background(Evas_Object *opbox, Evas_Object *term); void options_background_clear(void); diff --git a/src/bin/options_behavior.h b/src/bin/options_behavior.h index 8aa8608b..700efe62 100644 --- a/src/bin/options_behavior.h +++ b/src/bin/options_behavior.h @@ -1,5 +1,5 @@ -#ifndef _OPTIONS_BEHAVIOR_H__ -#define _OPTIONS_BEHAVIOR_H__ 1 +#ifndef TERMINOLOGY_OPTIONS_BEHAVIOR_H_ +#define TERMINOLOGY_OPTIONS_BEHAVIOR_H_ 1 void options_behavior(Evas_Object *opbox, Evas_Object *term); diff --git a/src/bin/options_colors.h b/src/bin/options_colors.h index 0512d989..157db7b5 100644 --- a/src/bin/options_colors.h +++ b/src/bin/options_colors.h @@ -1,5 +1,5 @@ -#ifndef _OPTIONS_COLORS_H__ -#define _OPTIONS_COLORS_H__ 1 +#ifndef TERMINOLOGY_OPTIONS_COLORS_H_ +#define TERMINOLOGY_OPTIONS_COLORS_H_ 1 void options_colors(Evas_Object *opbox, Evas_Object *term); diff --git a/src/bin/options_elm.h b/src/bin/options_elm.h index e4774a9d..28855c47 100644 --- a/src/bin/options_elm.h +++ b/src/bin/options_elm.h @@ -1,5 +1,5 @@ -#ifndef _OPTIONS_ELM_H__ -#define _OPTIONS_ELM_H__ 1 +#ifndef TERMINOLOGY_OPTIONS_ELM_H_ +#define TERMINOLOGY_OPTIONS_ELM_H_ 1 void options_elm(Evas_Object *opbox, Evas_Object *term); diff --git a/src/bin/options_font.h b/src/bin/options_font.h index 5ff2c5eb..af37a99a 100644 --- a/src/bin/options_font.h +++ b/src/bin/options_font.h @@ -1,5 +1,5 @@ -#ifndef _OPTIONS_FONT_H__ -#define _OPTIONS_FONT_H__ 1 +#ifndef TERMINOLOGY_OPTIONS_FONT_H_ +#define TERMINOLOGY_OPTIONS_FONT_H_ 1 void options_font(Evas_Object *opbox, Evas_Object *term); diff --git a/src/bin/options_keys.h b/src/bin/options_keys.h index 1fbc285e..a82ea566 100644 --- a/src/bin/options_keys.h +++ b/src/bin/options_keys.h @@ -1,5 +1,5 @@ -#ifndef _OPTIONS_KEYS_H__ -#define _OPTIONS_KEYS_H__ 1 +#ifndef TERMINOLOGY_OPTIONS_KEYS_H_ +#define TERMINOLOGY_OPTIONS_KEYS_H_ 1 void options_keys(Evas_Object *opbox, Evas_Object *term); diff --git a/src/bin/options_mouse.h b/src/bin/options_mouse.h index 480887f6..bd244b92 100644 --- a/src/bin/options_mouse.h +++ b/src/bin/options_mouse.h @@ -1,5 +1,5 @@ -#ifndef _OPTIONS_MOUSE_H__ -#define _OPTIONS_MOUSE_H__ 1 +#ifndef TERMINOLOGY_OPTIONS_MOUSE_H_ +#define TERMINOLOGY_OPTIONS_MOUSE_H_ 1 void options_mouse(Evas_Object *opbox, Evas_Object *term); diff --git a/src/bin/options_theme.h b/src/bin/options_theme.h index dcd8c1ab..e67bdbf1 100644 --- a/src/bin/options_theme.h +++ b/src/bin/options_theme.h @@ -1,5 +1,5 @@ -#ifndef _OPTIONS_THEME_H__ -#define _OPTIONS_THEME_H__ 1 +#ifndef TERMINOLOGY_OPTIONS_THEME_H_ +#define TERMINOLOGY_OPTIONS_THEME_H_ 1 void options_theme(Evas_Object *opbox, Evas_Object *term); diff --git a/src/bin/options_themepv.h b/src/bin/options_themepv.h index f4f8a48d..9487fb2d 100644 --- a/src/bin/options_themepv.h +++ b/src/bin/options_themepv.h @@ -1,5 +1,5 @@ -#ifndef _OPTIONS_THEMEPV_H__ -#define _OPTIONS_THEMEPV_H__ 1 +#ifndef TERMINOLOGY_OPTIONS_THEMEPV_H_ +#define TERMINOLOGY_OPTIONS_THEMEPV_H_ 1 #include "colors.h" Evas_Object * diff --git a/src/bin/private.h b/src/bin/private.h index c201f239..7fa997c8 100644 --- a/src/bin/private.h +++ b/src/bin/private.h @@ -1,5 +1,5 @@ -#ifndef _PRIVATE_H__ -#define _PRIVATE_H__ 1 +#ifndef TERMINOLOGY_PRIVATE_H_ +#define TERMINOLOGY_PRIVATE_H_ 1 #ifdef HAVE_CONFIG_H #include "terminology_config.h" diff --git a/src/bin/sb.h b/src/bin/sb.h index 1df238b5..0a9f4db9 100644 --- a/src/bin/sb.h +++ b/src/bin/sb.h @@ -1,5 +1,5 @@ -#ifndef _SB_H__ -#define _SB_H__ +#ifndef TERMINOLOGY_SB_H_ +#define TERMINOLOGY_SB_H_ #include diff --git a/src/bin/sel.h b/src/bin/sel.h index 0dcd12ac..ff8acf6f 100644 --- a/src/bin/sel.h +++ b/src/bin/sel.h @@ -1,5 +1,5 @@ -#ifndef _SEL_H__ -#define _SEL_H__ 1 +#ifndef TERMINOLOGY_SEL_H_ +#define TERMINOLOGY_SEL_H_ 1 #include "config.h" diff --git a/src/bin/term_container.h b/src/bin/term_container.h index c4206704..6a20eaaf 100644 --- a/src/bin/term_container.h +++ b/src/bin/term_container.h @@ -1,5 +1,5 @@ -#ifndef _TERM_CONTAINER_H__ -#define _TERM_CONTAINER_H__ 1 +#ifndef TERMINOLOGY_TERM_CONTAINER_H_ +#define TERMINOLOGY_TERM_CONTAINER_H_ 1 typedef struct _Term_Container Term_Container; diff --git a/src/bin/termcmd.h b/src/bin/termcmd.h index 51b0ed2d..5bd29075 100644 --- a/src/bin/termcmd.h +++ b/src/bin/termcmd.h @@ -1,5 +1,5 @@ -#ifndef _TERMCMD_H__ -#define _TERMCMD_H__ 1 +#ifndef TERMINOLOGY_TERMCMD_H_ +#define TERMINOLOGY_TERMCMD_H_ 1 #include "config.h" diff --git a/src/bin/termio.h b/src/bin/termio.h index 9a5a64d3..997f6ed2 100644 --- a/src/bin/termio.h +++ b/src/bin/termio.h @@ -1,5 +1,5 @@ -#ifndef _TERMIO_H__ -#define _TERMIO_H__ 1 +#ifndef TERMINOLOGY_TERMIO_H_ +#define TERMINOLOGY_TERMIO_H_ 1 #include "config.h" #include "main.h" diff --git a/src/bin/termiointernals.h b/src/bin/termiointernals.h index 86e6978e..a3d23cfe 100644 --- a/src/bin/termiointernals.h +++ b/src/bin/termiointernals.h @@ -1,5 +1,5 @@ -#ifndef _TERMIOINTERNALS_H__ -#define _TERMIOINTERNALS_H__ 1 +#ifndef TERMINOLOGY_TERMIOINTERNALS_H_ +#define TERMINOLOGY_TERMIOINTERNALS_H_ 1 #if defined(BINARY_TYFUZZ) || defined(BINARY_TYTEST) typedef void Term; diff --git a/src/bin/termiolink.h b/src/bin/termiolink.h index 3c0ed583..6651d2b7 100644 --- a/src/bin/termiolink.h +++ b/src/bin/termiolink.h @@ -1,5 +1,5 @@ -#ifndef _TERMIO_LINK_H__ -#define _TERMIO_LINK_H__ 1 +#ifndef TERMINOLOGY_TERMIO_LINK_H_ +#define TERMINOLOGY_TERMIO_LINK_H_ 1 char *termio_link_find(const Evas_Object *obj, int cx, int cy, int *x1r, int *y1r, int *x2r, int *y2r); Eina_Bool diff --git a/src/bin/termpty.h b/src/bin/termpty.h index e2523618..461d5b45 100644 --- a/src/bin/termpty.h +++ b/src/bin/termpty.h @@ -1,5 +1,5 @@ -#ifndef _TERMPTY_H__ -#define _TERMPTY_H__ 1 +#ifndef TERMINOLOGY_TERMPTY_H_ +#define TERMINOLOGY_TERMPTY_H_ 1 #include "config.h" #include "media.h" diff --git a/src/bin/termptydbl.h b/src/bin/termptydbl.h index ca365b29..0ac3f0ab 100644 --- a/src/bin/termptydbl.h +++ b/src/bin/termptydbl.h @@ -1,6 +1,6 @@ /* XXX: Code generated by tool unicode_dbl_width.py */ -#ifndef _TERMPTY_DBL_H__ -#define _TERMPTY_DBL_H__ 1 +#ifndef TERMINOLOGY_TERMPTY_DBL_H_ +#define TERMINOLOGY_TERMPTY_DBL_H_ 1 Eina_Bool _termpty_is_wide(const Eina_Unicode g); Eina_Bool _termpty_is_ambigous_wide(const Eina_Unicode g); diff --git a/src/bin/termptyesc.h b/src/bin/termptyesc.h index 6fed70b8..2b353e5a 100644 --- a/src/bin/termptyesc.h +++ b/src/bin/termptyesc.h @@ -1,5 +1,5 @@ -#ifndef _TERMPTY_ESC_H__ -#define _TERMPTY_ESC_H__ 1 +#ifndef TERMINOLOGY_TERMPTY_ESC_H_ +#define TERMINOLOGY_TERMPTY_ESC_H_ 1 int termpty_handle_seq(Termpty *ty, const Eina_Unicode *c, const Eina_Unicode *ce); const char * EINA_PURE termptyesc_safechar(const unsigned int c); diff --git a/src/bin/termptyext.h b/src/bin/termptyext.h index 020219c8..3ceeb83a 100644 --- a/src/bin/termptyext.h +++ b/src/bin/termptyext.h @@ -1,5 +1,5 @@ -#ifndef _TERMPTY_EXT_H__ -#define _TERMPTY_EXT_H__ 1 +#ifndef TERMINOLOGY_TERMPTY_EXT_H_ +#define TERMINOLOGY_TERMPTY_EXT_H_ 1 Eina_Bool termpty_ext_handle(Termpty *ty, diff --git a/src/bin/termptygfx.h b/src/bin/termptygfx.h index eaeaa7bb..67a52613 100644 --- a/src/bin/termptygfx.h +++ b/src/bin/termptygfx.h @@ -1,5 +1,5 @@ -#ifndef _TERMPTY_GFX_H__ -#define _TERMPTY_GFX_H__ 1 +#ifndef TERMINOLOGY_TERMPTY_GFX_H_ +#define TERMINOLOGY_TERMPTY_GFX_H_ 1 #include "termpty.h" diff --git a/src/bin/termptyops.h b/src/bin/termptyops.h index bb0b11c5..60d105ab 100644 --- a/src/bin/termptyops.h +++ b/src/bin/termptyops.h @@ -1,5 +1,5 @@ -#ifndef _TERMPTY_OPS_H__ -#define _TERMPTY_OPS_H__ 1 +#ifndef TERMINOLOGY_TERMPTY_OPS_H_ +#define TERMINOLOGY_TERMPTY_OPS_H_ 1 typedef enum _Termpty_Clear { diff --git a/src/bin/theme.h b/src/bin/theme.h index 4acce3b5..66950b3d 100644 --- a/src/bin/theme.h +++ b/src/bin/theme.h @@ -1,5 +1,5 @@ -#ifndef _THEME_H__ -#define _THEME_H__ +#ifndef TERMINOLOGY_THEME_H_ +#define TERMINOLOGY_THEME_H_ #include #include "config.h" diff --git a/src/bin/tycommon.h b/src/bin/tycommon.h index 7688b3ac..69b9fcb9 100644 --- a/src/bin/tycommon.h +++ b/src/bin/tycommon.h @@ -1,5 +1,5 @@ -#ifndef _TY_COMMON_H__ -#define _TY_COMMON_H__ 1 +#ifndef TERMINOLOGY_TY_COMMON_H_ +#define TERMINOLOGY_TY_COMMON_H_ 1 int expect_running_in_terminology(void); ssize_t ty_write(int fd, const void *buf, size_t count); diff --git a/src/bin/tytest.h b/src/bin/tytest.h index d2f6d7c2..0996ef93 100644 --- a/src/bin/tytest.h +++ b/src/bin/tytest.h @@ -1,5 +1,5 @@ -#ifndef _TYTEST_H__ -#define _TYTEST_H__ 1 +#ifndef TERMINOLOGY_TYTEST_H_ +#define TERMINOLOGY_TYTEST_H_ 1 #if defined(BINARY_TYTEST) #define evas_object_textgrid_palette_get test_textgrid_palette_get diff --git a/src/bin/tytest_common.h b/src/bin/tytest_common.h index 5db98f69..ca3a1291 100644 --- a/src/bin/tytest_common.h +++ b/src/bin/tytest_common.h @@ -1,5 +1,5 @@ -#ifndef _TYTEST_COMMON_H__ -#define _TYTEST_COMMON_H__ 1 +#ifndef TERMINOLOGY_TYTEST_COMMON_H_ +#define TERMINOLOGY_TYTEST_COMMON_H_ 1 #define TY_H 24 #define TY_W 80 diff --git a/src/bin/unit_tests.h b/src/bin/unit_tests.h index 78ca2123..543ee8cd 100644 --- a/src/bin/unit_tests.h +++ b/src/bin/unit_tests.h @@ -1,5 +1,5 @@ -#ifndef _TY_UNIT_TESTS_H__ -#define _TY_UNIT_TESTS_H__ 1 +#ifndef TERMINOLOGY_TY_UNIT_TESTS_H_ +#define TERMINOLOGY_TY_UNIT_TESTS_H_ 1 /* Unit tests */ typedef int (*tytest_func)(void); diff --git a/src/bin/utf8.h b/src/bin/utf8.h index cc8b3fc2..87b63b78 100644 --- a/src/bin/utf8.h +++ b/src/bin/utf8.h @@ -1,5 +1,5 @@ -#ifndef _UTF8_H__ -#define _UTF8_H__ 1 +#ifndef TERMINOLOGY_UTF8_H_ +#define TERMINOLOGY_UTF8_H_ 1 #include int codepoint_to_utf8(Eina_Unicode g, char *txt); diff --git a/src/bin/utils.h b/src/bin/utils.h index 3706212d..f905c487 100644 --- a/src/bin/utils.h +++ b/src/bin/utils.h @@ -1,5 +1,5 @@ -#ifndef _UTILS_H__ -#define _UTILS_H__ +#ifndef TERMINOLOGY_UTILS_H_ +#define TERMINOLOGY_UTILS_H_ #include #include "config.h" diff --git a/src/bin/win.h b/src/bin/win.h index 804190b3..13fd6c23 100644 --- a/src/bin/win.h +++ b/src/bin/win.h @@ -1,5 +1,5 @@ -#ifndef _WIN_H__ -#define _WIN_H__ 1 +#ifndef TERMINOLOGY_WIN_H_ +#define TERMINOLOGY_WIN_H_ 1 #include "config.h" diff --git a/tools/unicode_dbl_width.py b/tools/unicode_dbl_width.py index 533f127b..6c5cf138 100755 --- a/tools/unicode_dbl_width.py +++ b/tools/unicode_dbl_width.py @@ -72,8 +72,8 @@ def skip_ranges(ranges, width_skipped): def gen_header(cur_range, file_header): file_header.write( """/* XXX: Code generated by tool unicode_dbl_width.py */ -#ifndef _TERMPTY_DBL_H__ -#define _TERMPTY_DBL_H__ 1 +#ifndef TERMINOLOGY_TERMPTY_DBL_H_ +#define TERMINOLOGY_TERMPTY_DBL_H_ 1 Eina_Bool _termpty_is_wide(const Eina_Unicode g); Eina_Bool _termpty_is_ambigous_wide(const Eina_Unicode g);