From 766f0fd12d7876be73ab9edd827fc1d5fcfb256f Mon Sep 17 00:00:00 2001 From: Gary Kramlich Date: Sun, 29 Sep 2019 02:48:18 -0500 Subject: [PATCH] Fix the header guards for finch --- finch/finch.h | 7 ++++--- finch/gntaccount.h | 8 +++++--- finch/gntblist.h | 8 +++++--- finch/gntconn.h | 8 +++++--- finch/gntconv.h | 8 +++++--- finch/gntdebug.h | 8 +++++--- finch/gntidle.h | 8 +++++--- finch/gntlog.h | 8 +++++--- finch/gntmedia.h | 7 ++++--- finch/gntmenuutil.h | 8 +++++--- finch/gntnotify.h | 7 ++++--- finch/gntplugin.h | 8 +++++--- finch/gntpounce.h | 8 +++++--- finch/gntprefs.h | 8 +++++--- finch/gntrequest.h | 7 ++++--- finch/gntroomlist.h | 7 ++++--- finch/gntsound.h | 8 +++++--- finch/gntstatus.h | 8 +++++--- finch/gntui.h | 8 +++++--- finch/gntxfer.h | 8 +++++--- 20 files changed, 95 insertions(+), 60 deletions(-) diff --git a/finch/finch.h b/finch/finch.h index 516ef5a305..777caa39cb 100644 --- a/finch/finch.h +++ b/finch/finch.h @@ -19,8 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _FINCH_H_ -#define _FINCH_H_ +#ifndef FINCH_H +#define FINCH_H /** * SECTION:finch @@ -46,4 +46,5 @@ */ gboolean finch_start(int *argc, char ***argv); -#endif +#endif /* FINCH_H */ + diff --git a/finch/gntaccount.h b/finch/gntaccount.h index 40d4cde31f..99f1ad37c4 100644 --- a/finch/gntaccount.h +++ b/finch/gntaccount.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_ACCOUNT_H -#define _GNT_ACCOUNT_H +#ifndef FINCH_ACCOUNT_H +#define FINCH_ACCOUNT_H + /** * SECTION:gntaccount * @section_id: finch-gntaccount @@ -72,4 +73,5 @@ void finch_accounts_show_all(void); */ void finch_account_dialog_show(PurpleAccount *account); -#endif +#endif /* FINCH_ACCOUNT_H */ + diff --git a/finch/gntblist.h b/finch/gntblist.h index 73d62eb13f..eaad303dc3 100644 --- a/finch/gntblist.h +++ b/finch/gntblist.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_BLIST_H -#define _GNT_BLIST_H +#ifndef FINCH_BLIST_H +#define FINCH_BLIST_H + /** * SECTION:gntblist * @section_id: finch-gntblist @@ -195,4 +196,5 @@ FinchBlistManager * finch_blist_manager_find(const char *id); */ void finch_blist_manager_add_node(PurpleBlistNode *node); -#endif +#endif /* FINCH_BLIST_H */ + diff --git a/finch/gntconn.h b/finch/gntconn.h index 92542ac5a8..594cd5302b 100644 --- a/finch/gntconn.h +++ b/finch/gntconn.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_CONN_H -#define _GNT_CONN_H +#ifndef FINCH_CONN_H +#define FINCH_CONN_H + /** * SECTION:gntconn * @section_id: finch-gntconn @@ -57,4 +58,5 @@ void finch_connections_init(void); */ void finch_connections_uninit(void); -#endif +#endif /* FINCH_CONN_H */ + diff --git a/finch/gntconv.h b/finch/gntconv.h index a1e94c16b1..ca64595a5e 100644 --- a/finch/gntconv.h +++ b/finch/gntconv.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_CONV_H -#define _GNT_CONV_H +#ifndef FINCH_CONV_H +#define FINCH_CONV_H + /** * SECTION:gntconv * @section_id: finch-gntconv @@ -169,4 +170,5 @@ void finch_conversation_set_active(PurpleConversation *conv); */ void finch_conversation_set_info_widget(PurpleConversation *conv, GntWidget *widget); -#endif +#endif /* FINCH_CONV_H */ + diff --git a/finch/gntdebug.h b/finch/gntdebug.h index c753974a58..c927b7e3eb 100644 --- a/finch/gntdebug.h +++ b/finch/gntdebug.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_DEBUG_H -#define _GNT_DEBUG_H +#ifndef FINCH_DEBUG_H +#define FINCH_DEBUG_H + /** * SECTION:gntdebug * @section_id: finch-gntdebug @@ -55,4 +56,5 @@ void finch_debug_window_show(void); G_END_DECLS -#endif +#endif /* FINCH_DEBUG_H */ + diff --git a/finch/gntidle.h b/finch/gntidle.h index ab02f9cd00..5a9144cfae 100644 --- a/finch/gntidle.h +++ b/finch/gntidle.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_IDLE_H_ -#define _GNT_IDLE_H_ +#ifndef FINCH_IDLE_H +#define FINCH_IDLE_H + /** * SECTION:gntidle * @section_id: finch-gntidle @@ -43,4 +44,5 @@ */ PurpleIdleUiOps *finch_idle_get_ui_ops(void); -#endif /* _Finch_IDLE_H_ */ +#endif /* FINCH_IDLE_H */ + diff --git a/finch/gntlog.h b/finch/gntlog.h index c5825bec8f..a1f226ac44 100644 --- a/finch/gntlog.h +++ b/finch/gntlog.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _FINCHLOG_H_ -#define _FINCHLOG_H_ +#ifndef FINCH_LOG_H +#define FINCH_LOG_H + /** * SECTION:gntlog * @section_id: finch-gntlog @@ -93,4 +94,5 @@ void *finch_log_get_handle(void); */ void finch_log_uninit(void); -#endif +#endif /* FINCH_LOG_H */ + diff --git a/finch/gntmedia.h b/finch/gntmedia.h index 278b3d2148..9735c39b6e 100644 --- a/finch/gntmedia.h +++ b/finch/gntmedia.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef GNT_MEDIA_H -#define GNT_MEDIA_H +#ifndef FINCH_MEDIA_H +#define FINCH_MEDIA_H + /** * SECTION:gntmedia * @section_id: finch-gntmedia @@ -39,5 +40,5 @@ void finch_media_manager_uninit(void); G_END_DECLS -#endif /* GNT_MEDIA_H */ +#endif /* FINCH_MEDIA_H */ diff --git a/finch/gntmenuutil.h b/finch/gntmenuutil.h index 1e2ff69a36..a8739d8592 100644 --- a/finch/gntmenuutil.h +++ b/finch/gntmenuutil.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_MENUUTIL_H -#define _GNT_MENUUTIL_H +#ifndef FINCH_MENUUTIL_H +#define FINCH_MENUUTIL_H + /** * SECTION:gntmenuutil * @section_id: finch-gntmenuutil @@ -48,4 +49,5 @@ */ void finch_append_menu_action(GntMenu *menu, PurpleActionMenu *action, gpointer ctx); -#endif +#endif /* FINCH_MENUUTIL_H */ + diff --git a/finch/gntnotify.h b/finch/gntnotify.h index 950acac759..8ecbaeb9cc 100644 --- a/finch/gntnotify.h +++ b/finch/gntnotify.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_NOTIFY_H -#define _GNT_NOTIFY_H +#ifndef FINCH_NOTIFY_H +#define FINCH_NOTIFY_H + /** * SECTION:gntnotify * @section_id: finch-gntnotify @@ -57,5 +58,5 @@ void finch_notify_init(void); */ void finch_notify_uninit(void); -#endif +#endif /* FINCH_NOTIFY_H */ diff --git a/finch/gntplugin.h b/finch/gntplugin.h index 1fea039ca7..9cd95cd8ca 100644 --- a/finch/gntplugin.h +++ b/finch/gntplugin.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_PLUGIN_H -#define _GNT_PLUGIN_H +#ifndef FINCH_PLUGIN_H +#define FINCH_PLUGIN_H + /** * SECTION:gntplugin * @section_id: finch-gntplugin @@ -125,4 +126,5 @@ void finch_plugins_show_all(void); */ void finch_plugins_save_loaded(void); -#endif +#endif /* FINCH_PLUGIN_H */ + diff --git a/finch/gntpounce.h b/finch/gntpounce.h index 79618f9579..9a4f5975d9 100644 --- a/finch/gntpounce.h +++ b/finch/gntpounce.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _FINCHPOUNCE_H_ -#define _FINCHPOUNCE_H_ +#ifndef FINCH_POUNCE_H +#define FINCH_POUNCE_H + /** * SECTION:gntpounce * @section_id: finch-gntpounce @@ -78,4 +79,5 @@ void finch_pounces_init(void); */ void finch_pounces_uninit(void); -#endif /* _PURPLE_FINCHPOUNCE_H_ */ +#endif /* FINCH_POUNCE_H */ + diff --git a/finch/gntprefs.h b/finch/gntprefs.h index 8303b24ee5..63bf2518c5 100644 --- a/finch/gntprefs.h +++ b/finch/gntprefs.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_PREFS_H -#define _GNT_PREFS_H +#ifndef FINCH_PREFS_H +#define FINCH_PREFS_H + /** * SECTION:gntprefs * @section_id: finch-gntprefs @@ -60,4 +61,5 @@ void finch_prefs_show_keyring(void); */ void finch_prefs_update_old(void); -#endif +#endif /* FINCH_PREFS_H */ + diff --git a/finch/gntrequest.h b/finch/gntrequest.h index f06fddeab9..d9abed8744 100644 --- a/finch/gntrequest.h +++ b/finch/gntrequest.h @@ -19,8 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef GNT_REQUEST_H -#define GNT_REQUEST_H +#ifndef FINCH_REQUEST_H +#define FINCH_REQUEST_H /** * SECTION:gntrequest @@ -79,4 +79,5 @@ void finch_request_save_in_prefs(gpointer data, PurpleRequestFields *fields); */ GntWidget *finch_request_field_get_widget(PurpleRequestField *field); -#endif /* GNT_REQUEST_H */ +#endif /* FINCH_REQUEST_H */ + diff --git a/finch/gntroomlist.h b/finch/gntroomlist.h index a2e2ae7a79..f0e4d06720 100644 --- a/finch/gntroomlist.h +++ b/finch/gntroomlist.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_ROOMLIST_H -#define _GNT_ROOMLIST_H +#ifndef FINCH_ROOMLIST_H +#define FINCH_ROOMLIST_H + /** * SECTION:gntroomlist * @section_id: finch-gntroomlist @@ -64,5 +65,5 @@ void finch_roomlist_show_all(void); */ void finch_roomlist_uninit(void); -#endif +#endif /* FINCH_ROOMLIST_H */ diff --git a/finch/gntsound.h b/finch/gntsound.h index 836b191992..27e4ea5da6 100644 --- a/finch/gntsound.h +++ b/finch/gntsound.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_SOUND_H -#define _GNT_SOUND_H +#ifndef FINCH_SOUND_H +#define FINCH_SOUND_H + /** * SECTION:gntsound * @section_id: finch-gntsound @@ -88,4 +89,5 @@ PurpleSoundUiOps *finch_sound_get_ui_ops(void); */ void finch_sounds_show_all(void); -#endif +#endif /* FINCH_SOUND_H */ + diff --git a/finch/gntstatus.h b/finch/gntstatus.h index 8fc3cfbb4d..98ade84757 100644 --- a/finch/gntstatus.h +++ b/finch/gntstatus.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_STATUS_H -#define _GNT_STATUS_H +#ifndef FINCH_STATUS_H +#define FINCH_STATUS_H + /** * SECTION:gntstatus * @section_id: finch-gntstatus @@ -50,4 +51,5 @@ void finch_savedstatus_show_all(void); */ void finch_savedstatus_edit(PurpleSavedStatus *saved); -#endif +#endif /* FINCH_STATUS_H */ + diff --git a/finch/gntui.h b/finch/gntui.h index ea849ff1d1..950d13e724 100644 --- a/finch/gntui.h +++ b/finch/gntui.h @@ -20,8 +20,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_UI_H -#define _GNT_UI_H +#ifndef FINCH_UI_H +#define FINCH_UI_H + /** * SECTION:gntui * @section_id: finch-gntui @@ -34,4 +35,5 @@ void finch_ui_init(void); void finch_ui_uninit(void); -#endif +#endif /* FINCH_UI_H */ + diff --git a/finch/gntxfer.h b/finch/gntxfer.h index a234f16575..f36e65a759 100644 --- a/finch/gntxfer.h +++ b/finch/gntxfer.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _GNT_XFER_H_ -#define _GNT_XFER_H_ +#ifndef FINCH_XFER_H +#define FINCH_XFER_H + /** * SECTION:gntxfer * @section_id: finch-gntxfer @@ -123,4 +124,5 @@ void finch_xfers_uninit(void); */ PurpleXferUiOps *finch_xfers_get_ui_ops(void); -#endif /* _GNT_XFER_H_ */ +#endif /* FINCH_XFER_H */ + -- 2.11.4.GIT