commit e2337ced72715d7a49161a93fe7e689cd5a963f0 parent a85f5c4e7dff16bf015ee4532ee789fc04e9ae0c Author: Jonathan Boeing <jonathan@claws-mail.org> Date: Fri, 5 Nov 2021 00:23:37 -0700 Only include config.h from .c files Diffstat:
19 files changed, 0 insertions(+), 34 deletions(-)
diff --git a/src/common/file-utils.h b/src/common/file-utils.h @@ -20,7 +20,6 @@ #define __CLAWS_IO_H__ #ifdef HAVE_CONFIG_H -# include "config.h" #include "claws-features.h" #endif diff --git a/src/common/proxy.h b/src/common/proxy.h @@ -19,10 +19,6 @@ #ifndef __PROXY_H__ #define __PROXY_H__ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include <glib.h> #include "socket.h" diff --git a/src/common/utils.h b/src/common/utils.h @@ -25,7 +25,6 @@ #ifdef HAVE_CONFIG_H #include "claws-features.h" -#include "config.h" #endif #ifdef HAVE_BACKTRACE diff --git a/src/etpan/etpan-ssl.h b/src/etpan/etpan-ssl.h @@ -22,7 +22,6 @@ #define __ETPAN_SSL_H__ #ifdef HAVE_CONFIG_H -# include "config.h" #include "claws-features.h" #endif diff --git a/src/password.h b/src/password.h @@ -20,10 +20,6 @@ #ifndef __PASSWORD_H #define __PASSWORD_H -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include <glib.h> #ifndef PASSWORD_CRYPTO_OLD diff --git a/src/password_gtk.h b/src/password_gtk.h @@ -20,10 +20,6 @@ #ifndef __PASSWORD_GTK_H #define __PASSWORD_GTK_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #ifndef PASSWORD_CRYPTO_OLD void master_passphrase_change_dialog(); #endif diff --git a/src/plugins/notification/notification_banner.h b/src/plugins/notification/notification_banner.h @@ -19,7 +19,6 @@ #define NOTIFICATION_BANNER_H NOTIFICATION_BANNER_H #ifdef HAVE_CONFIG_H -# include "config.h" # include "claws-features.h" #endif diff --git a/src/plugins/notification/notification_command.h b/src/plugins/notification/notification_command.h @@ -19,7 +19,6 @@ #define NOTIFICATION_COMMAND_H NOTIFICATION_COMMAND_H #ifdef HAVE_CONFIG_H -# include "config.h" # include "claws-features.h" #endif diff --git a/src/plugins/notification/notification_foldercheck.h b/src/plugins/notification/notification_foldercheck.h @@ -21,7 +21,6 @@ #include <gtk/gtk.h> #ifdef HAVE_CONFIG_H -# include "config.h" # include "claws-features.h" #endif diff --git a/src/plugins/notification/notification_hotkeys.h b/src/plugins/notification/notification_hotkeys.h @@ -19,7 +19,6 @@ #define NOTIFICATION_HOTKEYS_H NOTIFICATION_HOTKEYS_H #ifdef HAVE_CONFIG_H -# include "config.h" # include "claws-features.h" #endif diff --git a/src/plugins/notification/notification_indicator.h b/src/plugins/notification/notification_indicator.h @@ -19,7 +19,6 @@ #define NOTIFICATION_INDICATOR_H NOTIFICATION_INDICATOR_H #ifdef HAVE_CONFIG_H -# include "config.h" # include "claws-features.h" #endif diff --git a/src/plugins/notification/notification_lcdproc.h b/src/plugins/notification/notification_lcdproc.h @@ -19,7 +19,6 @@ #define NOTIFICATION_LCDPROC_H NOTIFICATION_LCDPROC_H #ifdef HAVE_CONFIG_H -# include "config.h" # include "claws-features.h" #endif diff --git a/src/plugins/notification/notification_plugin.h b/src/plugins/notification/notification_plugin.h @@ -19,7 +19,6 @@ #define NOTIFICATION_PLUGIN_H NOTIFICATION_PLUGIN_H #ifdef HAVE_CONFIG_H -# include "config.h" # include "claws-features.h" #endif diff --git a/src/plugins/notification/notification_popup.h b/src/plugins/notification/notification_popup.h @@ -19,7 +19,6 @@ #define NOTIFICATION_POPUP_H NOTIFICATION_POPUP_H #ifdef HAVE_CONFIG_H -# include "config.h" # include "claws-features.h" #endif diff --git a/src/plugins/notification/notification_prefs.h b/src/plugins/notification/notification_prefs.h @@ -19,7 +19,6 @@ #define NOTIFICATION_PREFS_H NOTIFICATION_PREFS_H #ifdef HAVE_CONFIG_H -# include "config.h" # include "claws-features.h" #endif diff --git a/src/plugins/notification/notification_trayicon.h b/src/plugins/notification/notification_trayicon.h @@ -19,7 +19,6 @@ #define NOTIFICATION_TRAYICON_H NOTIFICATION_TRAYICON_H #ifdef HAVE_CONFIG_H -# include "config.h" # include "claws-features.h" #endif diff --git a/src/plugins/pdf_viewer/poppler_viewer.h b/src/plugins/pdf_viewer/poppler_viewer.h @@ -19,10 +19,6 @@ #ifndef POPPLER_VIEWER_H #define POPPLER_VIEWER_H -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - //#include <unistd.h> #include <stdio.h> #include <gtk/gtk.h> diff --git a/src/prefs_common.h b/src/prefs_common.h @@ -20,7 +20,6 @@ #define __PREFS_COMMON_H__ #ifdef HAVE_CONFIG_H -#include "config.h" #include "claws-features.h" #endif diff --git a/src/summaryview.h b/src/summaryview.h @@ -26,10 +26,6 @@ #include <gdk/gdk.h> #include <gtk/gtk.h> -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "viewtypes.h" typedef struct _SummaryColumnState SummaryColumnState;