From f74c470c9a282aebe633ed5c687aaebc7b9ff604 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 22 Oct 2017 18:43:33 -0400 Subject: src/*.h, src/*/*.h, src/*/*/*.h: Move typedefs within include guards --- (limited to 'src/toolbars') diff --git a/src/toolbars/find-toolbar.h b/src/toolbars/find-toolbar.h index 386cab4..d9e2216 100644 --- a/src/toolbars/find-toolbar.h +++ b/src/toolbars/find-toolbar.h @@ -19,12 +19,12 @@ * along with Marquee. If not, see . */ -typedef struct _MqFindToolbar MqFindToolbar; -typedef struct _MqFindToolbarClass MqFindToolbarClass; - #ifndef MQ_TOOLBARS_FIND_TOOLBAR_H #define MQ_TOOLBARS_FIND_TOOLBAR_H +typedef struct _MqFindToolbar MqFindToolbar; +typedef struct _MqFindToolbarClass MqFindToolbarClass; + #include #include #include diff --git a/src/toolbars/navigation-toolbar.h b/src/toolbars/navigation-toolbar.h index 65253f4..3dd9959 100644 --- a/src/toolbars/navigation-toolbar.h +++ b/src/toolbars/navigation-toolbar.h @@ -19,12 +19,12 @@ * along with Marquee. If not, see . */ -typedef struct _MqNavigationToolbar MqNavigationToolbar; -typedef struct _MqNavigationToolbarClass MqNavigationToolbarClass; - #ifndef MQ_TOOLBARS_NAVIGATION_TOOLBAR_H #define MQ_TOOLBARS_NAVIGATION_TOOLBAR_H +typedef struct _MqNavigationToolbar MqNavigationToolbar; +typedef struct _MqNavigationToolbarClass MqNavigationToolbarClass; + #include #include diff --git a/src/toolbars/navigation/back-forward-button-box.h b/src/toolbars/navigation/back-forward-button-box.h index a11c4de..b00c079 100644 --- a/src/toolbars/navigation/back-forward-button-box.h +++ b/src/toolbars/navigation/back-forward-button-box.h @@ -19,12 +19,12 @@ * along with Marquee. If not, see . */ -typedef struct _MqBackForwardButtonBox MqBackForwardButtonBox; -typedef struct _MqBackForwardButtonBoxClass MqBackForwardButtonBoxClass; - #ifndef MQ_TOOLBARS_NAVIGATION_BACK_FORWARD_BUTTON_BOX_H #define MQ_TOOLBARS_NAVIGATION_BACK_FORWARD_BUTTON_BOX_H +typedef struct _MqBackForwardButtonBox MqBackForwardButtonBox; +typedef struct _MqBackForwardButtonBoxClass MqBackForwardButtonBoxClass; + #include #include diff --git a/src/toolbars/navigation/home-button.h b/src/toolbars/navigation/home-button.h index 0eae927..af1d448 100644 --- a/src/toolbars/navigation/home-button.h +++ b/src/toolbars/navigation/home-button.h @@ -19,12 +19,12 @@ * along with Marquee. If not, see . */ -typedef struct _MqHomeButton MqHomeButton; -typedef struct _MqHomeButtonClass MqHomeButtonClass; - #ifndef MQ_TOOLBARS_NAVIGATION_HOME_BUTTON_H #define MQ_TOOLBARS_NAVIGATION_HOME_BUTTON_H +typedef struct _MqHomeButton MqHomeButton; +typedef struct _MqHomeButtonClass MqHomeButtonClass; + #include #include diff --git a/src/toolbars/navigation/main-menu.h b/src/toolbars/navigation/main-menu.h index dbe00ce..13a6c33 100644 --- a/src/toolbars/navigation/main-menu.h +++ b/src/toolbars/navigation/main-menu.h @@ -19,12 +19,12 @@ * along with Marquee. If not, see . */ -typedef struct _MqMainMenu MqMainMenu; -typedef struct _MqMainMenuClass MqMainMenuClass; - #ifndef MQ_TOOLBARS_NAVIGATION_MAIN_MENU_H #define MQ_TOOLBARS_NAVIGATION_MAIN_MENU_H +typedef struct _MqMainMenu MqMainMenu; +typedef struct _MqMainMenuClass MqMainMenuClass; + #include #include diff --git a/src/toolbars/navigation/stop-reload-button.h b/src/toolbars/navigation/stop-reload-button.h index 2b85109..82fd8a5 100644 --- a/src/toolbars/navigation/stop-reload-button.h +++ b/src/toolbars/navigation/stop-reload-button.h @@ -19,12 +19,12 @@ * along with Marquee. If not, see . */ -typedef struct _MqStopReloadButton MqStopReloadButton; -typedef struct _MqStopReloadButtonClass MqStopReloadButtonClass; - #ifndef MQ_TOOLBARS_NAVIGATION_STOP_RELOAD_BUTTON_H #define MQ_TOOLBARS_NAVIGATION_STOP_RELOAD_BUTTON_H +typedef struct _MqStopReloadButton MqStopReloadButton; +typedef struct _MqStopReloadButtonClass MqStopReloadButtonClass; + #include #include diff --git a/src/toolbars/navigation/uri-entry.h b/src/toolbars/navigation/uri-entry.h index 248ba22..046d243 100644 --- a/src/toolbars/navigation/uri-entry.h +++ b/src/toolbars/navigation/uri-entry.h @@ -19,12 +19,12 @@ * along with Marquee. If not, see . */ -typedef struct _MqUriEntry MqUriEntry; -typedef struct _MqUriEntryClass MqUriEntryClass; - #ifndef MQ_TOOLBARS_NAVIGATION_URI_ENTRY_H #define MQ_TOOLBARS_NAVIGATION_URI_ENTRY_H +typedef struct _MqUriEntry MqUriEntry; +typedef struct _MqUriEntryClass MqUriEntryClass; + #include #include -- cgit v0.9.1