summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-02-24 00:19:46 +0100
committerThomas Haller <thaller@redhat.com>2016-02-24 01:09:41 +0100
commit29a3832b6c5edbff64a652e3f2ca6e7d793772a7 (patch)
tree19238f77c76e67617c2c6fe506e2e10311a821a7
parent33c593724dad6362a64a94e4495eca3fde683a8f (diff)
downloadnetwork-manager-applet-29a3832b6c5edbff64a652e3f2ca6e7d793772a7.tar.gz
all: include "config.h" via "nm-default.h"
Every internal source file should include "nm-default.h" as first. Therefore, also include "nm-config.h" via the default header.
-rw-r--r--shared/nm-default.h5
-rw-r--r--src/ap-menu-item.c2
-rw-r--r--src/applet-agent.c2
-rw-r--r--src/applet-device-broadband.c2
-rw-r--r--src/applet-device-bt.c2
-rw-r--r--src/applet-device-ethernet.c2
-rw-r--r--src/applet-device-wifi.c2
-rw-r--r--src/applet-dialogs.c2
-rw-r--r--src/applet-vpn-request.c2
-rw-r--r--src/applet.c2
-rw-r--r--src/connection-editor/ce-page.c2
-rw-r--r--src/connection-editor/ce-polkit-button.c2
-rw-r--r--src/connection-editor/connection-helpers.c2
-rw-r--r--src/connection-editor/ip4-routes-dialog.c2
-rw-r--r--src/connection-editor/ip6-routes-dialog.c2
-rw-r--r--src/connection-editor/main.c3
-rw-r--r--src/connection-editor/nm-connection-editor.c2
-rw-r--r--src/connection-editor/nm-connection-list.c2
-rw-r--r--src/connection-editor/page-8021x-security.c2
-rw-r--r--src/connection-editor/page-bluetooth.c2
-rw-r--r--src/connection-editor/page-bond.c2
-rw-r--r--src/connection-editor/page-bridge-port.c2
-rw-r--r--src/connection-editor/page-bridge.c2
-rw-r--r--src/connection-editor/page-dcb.c2
-rw-r--r--src/connection-editor/page-dsl.c2
-rw-r--r--src/connection-editor/page-ethernet.c2
-rw-r--r--src/connection-editor/page-general.c2
-rw-r--r--src/connection-editor/page-infiniband.c2
-rw-r--r--src/connection-editor/page-ip4.c2
-rw-r--r--src/connection-editor/page-ip6.c2
-rw-r--r--src/connection-editor/page-master.c2
-rw-r--r--src/connection-editor/page-mobile.c2
-rw-r--r--src/connection-editor/page-ppp.c2
-rw-r--r--src/connection-editor/page-team-port.c2
-rw-r--r--src/connection-editor/page-team.c2
-rw-r--r--src/connection-editor/page-vlan.c2
-rw-r--r--src/connection-editor/page-vpn.c2
-rw-r--r--src/connection-editor/page-wifi-security.c2
-rw-r--r--src/connection-editor/page-wifi.c2
-rw-r--r--src/connection-editor/ppp-auth-methods-dialog.c2
-rw-r--r--src/connection-editor/vpn-helpers.c2
-rw-r--r--src/ethernet-dialog.c2
-rw-r--r--src/libnm-gtk/init.c2
-rw-r--r--src/libnm-gtk/nm-mobile-providers.c2
-rw-r--r--src/libnm-gtk/nm-mobile-wizard.c2
-rw-r--r--src/libnm-gtk/nm-ui-utils.c2
-rw-r--r--src/libnm-gtk/nm-vpn-password-dialog.c2
-rw-r--r--src/libnm-gtk/nm-wifi-dialog.c2
-rw-r--r--src/libnm-gtk/nm-wireless-dialog.c2
-rw-r--r--src/libnm-gtk/tests/test-mobile-providers.c2
-rw-r--r--src/libnma/init.c2
-rw-r--r--src/libnma/nma-mobile-providers.c2
-rw-r--r--src/libnma/nma-mobile-wizard.c2
-rw-r--r--src/libnma/nma-ui-utils.c2
-rw-r--r--src/libnma/nma-vpn-password-dialog.c2
-rw-r--r--src/libnma/nma-wifi-dialog.c2
-rw-r--r--src/main.c2
-rw-r--r--src/mb-menu-item.c2
-rw-r--r--src/mobile-helpers.c2
-rw-r--r--src/utils/tests/test-utils.c2
-rw-r--r--src/utils/utils.c2
-rw-r--r--src/wireless-security/eap-method-fast.c2
-rw-r--r--src/wireless-security/eap-method-leap.c2
-rw-r--r--src/wireless-security/eap-method-peap.c2
-rw-r--r--src/wireless-security/eap-method-simple.c2
-rw-r--r--src/wireless-security/eap-method-tls.c2
-rw-r--r--src/wireless-security/eap-method-ttls.c2
-rw-r--r--src/wireless-security/eap-method.c2
-rw-r--r--src/wireless-security/helpers.c2
-rw-r--r--src/wireless-security/wireless-security.c2
-rw-r--r--src/wireless-security/ws-dynamic-wep.c2
-rw-r--r--src/wireless-security/ws-leap.c2
-rw-r--r--src/wireless-security/ws-wep-key.c2
-rw-r--r--src/wireless-security/ws-wpa-eap.c2
-rw-r--r--src/wireless-security/ws-wpa-psk.c2
75 files changed, 7 insertions, 147 deletions
diff --git a/shared/nm-default.h b/shared/nm-default.h
index 48fb89cf..0a09fa04 100644
--- a/shared/nm-default.h
+++ b/shared/nm-default.h
@@ -39,6 +39,11 @@
/* always include these headers for our internal source files. */
+#ifndef ___CONFIG_H__
+#define ___CONFIG_H__
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "nm-glib.h"
diff --git a/src/ap-menu-item.c b/src/ap-menu-item.c
index e80ad3a1..95508270 100644
--- a/src/ap-menu-item.c
+++ b/src/ap-menu-item.c
@@ -21,8 +21,6 @@
* Copyright 2005 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <stdio.h>
diff --git a/src/applet-agent.c b/src/applet-agent.c
index b8268b46..dd4b6865 100644
--- a/src/applet-agent.c
+++ b/src/applet-agent.c
@@ -19,8 +19,6 @@
* Copyright 2011 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n.h>
diff --git a/src/applet-device-broadband.c b/src/applet-device-broadband.c
index 4de2b043..479184ab 100644
--- a/src/applet-device-broadband.c
+++ b/src/applet-device-broadband.c
@@ -18,8 +18,6 @@
* (C) Copyright 2012 Aleksander Morgado <aleksander@gnu.org>
*/
-#include "config.h"
-
#include "nm-default.h"
#include <ctype.h>
diff --git a/src/applet-device-bt.c b/src/applet-device-bt.c
index 1f665468..3cfdb4e5 100644
--- a/src/applet-device-bt.c
+++ b/src/applet-device-bt.c
@@ -21,8 +21,6 @@
* Copyright 2008 Novell, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n.h>
diff --git a/src/applet-device-ethernet.c b/src/applet-device-ethernet.c
index e1dfaca8..91f7e68c 100644
--- a/src/applet-device-ethernet.c
+++ b/src/applet-device-ethernet.c
@@ -21,8 +21,6 @@
* Copyright 2008 Novell, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n.h>
diff --git a/src/applet-device-wifi.c b/src/applet-device-wifi.c
index 12584c09..89e5544e 100644
--- a/src/applet-device-wifi.c
+++ b/src/applet-device-wifi.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <netinet/in.h>
diff --git a/src/applet-dialogs.c b/src/applet-dialogs.c
index fb874186..55e4c219 100644
--- a/src/applet-dialogs.c
+++ b/src/applet-dialogs.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <netinet/in.h>
diff --git a/src/applet-vpn-request.c b/src/applet-vpn-request.c
index 8ba826ab..59c3820c 100644
--- a/src/applet-vpn-request.c
+++ b/src/applet-vpn-request.c
@@ -20,8 +20,6 @@
* Copyright 2004 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <stdio.h>
diff --git a/src/applet.c b/src/applet.c
index df8b9602..643651f4 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -27,8 +27,6 @@
* Copyright 2001, 2002 Free Software Foundation
*/
-#include "config.h"
-
#include "nm-default.h"
#include <time.h>
diff --git a/src/connection-editor/ce-page.c b/src/connection-editor/ce-page.c
index 9d500e77..e6b3c15e 100644
--- a/src/connection-editor/ce-page.c
+++ b/src/connection-editor/ce-page.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <net/ethernet.h>
diff --git a/src/connection-editor/ce-polkit-button.c b/src/connection-editor/ce-polkit-button.c
index f3b7bac9..7686a11e 100644
--- a/src/connection-editor/ce-polkit-button.c
+++ b/src/connection-editor/ce-polkit-button.c
@@ -20,8 +20,6 @@
* Copyright 2009 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/connection-helpers.c b/src/connection-editor/connection-helpers.c
index 97ef88fd..4d4fce71 100644
--- a/src/connection-editor/connection-helpers.c
+++ b/src/connection-editor/connection-helpers.c
@@ -18,8 +18,6 @@
* Copyright 2012 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n.h>
diff --git a/src/connection-editor/ip4-routes-dialog.c b/src/connection-editor/ip4-routes-dialog.c
index a15da8b7..5646be83 100644
--- a/src/connection-editor/ip4-routes-dialog.c
+++ b/src/connection-editor/ip4-routes-dialog.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <netinet/in.h>
diff --git a/src/connection-editor/ip6-routes-dialog.c b/src/connection-editor/ip6-routes-dialog.c
index 6b28f53d..64f28c7a 100644
--- a/src/connection-editor/ip6-routes-dialog.c
+++ b/src/connection-editor/ip6-routes-dialog.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <netinet/in.h>
diff --git a/src/connection-editor/main.c b/src/connection-editor/main.c
index 9314afc6..c778630d 100644
--- a/src/connection-editor/main.c
+++ b/src/connection-editor/main.c
@@ -20,7 +20,7 @@
* Copyright 2004 - 2014 Red Hat, Inc.
*/
-# include "config.h"
+#include "nm-default.h"
#include <string.h>
#include <stdlib.h>
@@ -28,7 +28,6 @@
#include <dbus/dbus.h>
#include <gtk/gtk.h>
-#include <glib/gi18n-lib.h>
#include <glib.h>
#include <glib-object.h>
#include <glib-unix.h>
diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c
index bb8e9ad7..d0faf50e 100644
--- a/src/connection-editor/nm-connection-editor.c
+++ b/src/connection-editor/nm-connection-editor.c
@@ -23,8 +23,6 @@
* Copyright 2007 - 2008 Novell, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/nm-connection-list.c b/src/connection-editor/nm-connection-list.c
index cb60b7d1..eea24e67 100644
--- a/src/connection-editor/nm-connection-list.c
+++ b/src/connection-editor/nm-connection-list.c
@@ -21,8 +21,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-8021x-security.c b/src/connection-editor/page-8021x-security.c
index b1a26604..86e653bf 100644
--- a/src/connection-editor/page-8021x-security.c
+++ b/src/connection-editor/page-8021x-security.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-bluetooth.c b/src/connection-editor/page-bluetooth.c
index 37495aa2..76b9ecde 100644
--- a/src/connection-editor/page-bluetooth.c
+++ b/src/connection-editor/page-bluetooth.c
@@ -20,8 +20,6 @@
* Copyright 2014 - 2015 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-bond.c b/src/connection-editor/page-bond.c
index fe08bcd0..16b18269 100644
--- a/src/connection-editor/page-bond.c
+++ b/src/connection-editor/page-bond.c
@@ -18,8 +18,6 @@
* Copyright 2012 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <stdlib.h>
diff --git a/src/connection-editor/page-bridge-port.c b/src/connection-editor/page-bridge-port.c
index 0620fb13..d79e0713 100644
--- a/src/connection-editor/page-bridge-port.c
+++ b/src/connection-editor/page-bridge-port.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-bridge.c b/src/connection-editor/page-bridge.c
index 10f6632b..07d2844b 100644
--- a/src/connection-editor/page-bridge.c
+++ b/src/connection-editor/page-bridge.c
@@ -18,8 +18,6 @@
* Copyright 2012 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <stdlib.h>
diff --git a/src/connection-editor/page-dcb.c b/src/connection-editor/page-dcb.c
index c760b2b1..b5a49cbe 100644
--- a/src/connection-editor/page-dcb.c
+++ b/src/connection-editor/page-dcb.c
@@ -20,8 +20,6 @@
* Copyright 2013 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-dsl.c b/src/connection-editor/page-dsl.c
index 4dcef6ce..53282da8 100644
--- a/src/connection-editor/page-dsl.c
+++ b/src/connection-editor/page-dsl.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-ethernet.c b/src/connection-editor/page-ethernet.c
index 9bc87bf7..18787f8e 100644
--- a/src/connection-editor/page-ethernet.c
+++ b/src/connection-editor/page-ethernet.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-general.c b/src/connection-editor/page-general.c
index 23fa0c27..c31bdedd 100644
--- a/src/connection-editor/page-general.c
+++ b/src/connection-editor/page-general.c
@@ -18,8 +18,6 @@
* Copyright 2012 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <gtk/gtk.h>
diff --git a/src/connection-editor/page-infiniband.c b/src/connection-editor/page-infiniband.c
index f544e4ad..c0f0d7df 100644
--- a/src/connection-editor/page-infiniband.c
+++ b/src/connection-editor/page-infiniband.c
@@ -18,8 +18,6 @@
* Copyright 2012 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <gtk/gtk.h>
diff --git a/src/connection-editor/page-ip4.c b/src/connection-editor/page-ip4.c
index 0b8644e2..9c28cfed 100644
--- a/src/connection-editor/page-ip4.c
+++ b/src/connection-editor/page-ip4.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-ip6.c b/src/connection-editor/page-ip6.c
index e9dae0af..28dac083 100644
--- a/src/connection-editor/page-ip6.c
+++ b/src/connection-editor/page-ip6.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-master.c b/src/connection-editor/page-master.c
index 2b790071..42362eeb 100644
--- a/src/connection-editor/page-master.c
+++ b/src/connection-editor/page-master.c
@@ -18,8 +18,6 @@
* Copyright 2012 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <stdlib.h>
diff --git a/src/connection-editor/page-mobile.c b/src/connection-editor/page-mobile.c
index add16708..1bc7f7a9 100644
--- a/src/connection-editor/page-mobile.c
+++ b/src/connection-editor/page-mobile.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-ppp.c b/src/connection-editor/page-ppp.c
index d6709953..f306e3d0 100644
--- a/src/connection-editor/page-ppp.c
+++ b/src/connection-editor/page-ppp.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-team-port.c b/src/connection-editor/page-team-port.c
index 8078b568..4d3bf7b6 100644
--- a/src/connection-editor/page-team-port.c
+++ b/src/connection-editor/page-team-port.c
@@ -18,8 +18,6 @@
* Copyright 2013 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-team.c b/src/connection-editor/page-team.c
index 0759bab0..44bc61b0 100644
--- a/src/connection-editor/page-team.c
+++ b/src/connection-editor/page-team.c
@@ -20,8 +20,6 @@
* Copyright 2013 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <stdlib.h>
diff --git a/src/connection-editor/page-vlan.c b/src/connection-editor/page-vlan.c
index 39a36921..97d162ea 100644
--- a/src/connection-editor/page-vlan.c
+++ b/src/connection-editor/page-vlan.c
@@ -18,8 +18,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <stdlib.h>
diff --git a/src/connection-editor/page-vpn.c b/src/connection-editor/page-vpn.c
index 6aab2fe3..aad5cc22 100644
--- a/src/connection-editor/page-vpn.c
+++ b/src/connection-editor/page-vpn.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-wifi-security.c b/src/connection-editor/page-wifi-security.c
index a19553fc..edf959d8 100644
--- a/src/connection-editor/page-wifi-security.c
+++ b/src/connection-editor/page-wifi-security.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/page-wifi.c b/src/connection-editor/page-wifi.c
index fc550f91..89312763 100644
--- a/src/connection-editor/page-wifi.c
+++ b/src/connection-editor/page-wifi.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/connection-editor/ppp-auth-methods-dialog.c b/src/connection-editor/ppp-auth-methods-dialog.c
index 918a7b3f..c5f6a201 100644
--- a/src/connection-editor/ppp-auth-methods-dialog.c
+++ b/src/connection-editor/ppp-auth-methods-dialog.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <netinet/in.h>
diff --git a/src/connection-editor/vpn-helpers.c b/src/connection-editor/vpn-helpers.c
index e4aad6fc..f31d2ba6 100644
--- a/src/connection-editor/vpn-helpers.c
+++ b/src/connection-editor/vpn-helpers.c
@@ -20,8 +20,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/ethernet-dialog.c b/src/ethernet-dialog.c
index e613d807..69eb4e7f 100644
--- a/src/ethernet-dialog.c
+++ b/src/ethernet-dialog.c
@@ -21,8 +21,6 @@
* Copyright 2008 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n.h>
diff --git a/src/libnm-gtk/init.c b/src/libnm-gtk/init.c
index e5aff7c6..927c453e 100644
--- a/src/libnm-gtk/init.c
+++ b/src/libnm-gtk/init.c
@@ -18,8 +18,6 @@
* Copyright 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <libintl.h>
diff --git a/src/libnm-gtk/nm-mobile-providers.c b/src/libnm-gtk/nm-mobile-providers.c
index 532654a6..c7f78593 100644
--- a/src/libnm-gtk/nm-mobile-providers.c
+++ b/src/libnm-gtk/nm-mobile-providers.c
@@ -22,8 +22,6 @@
* Copyright (C) 2012 Lanedo GmbH
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/libnm-gtk/nm-mobile-wizard.c b/src/libnm-gtk/nm-mobile-wizard.c
index 891cfe05..284dc387 100644
--- a/src/libnm-gtk/nm-mobile-wizard.c
+++ b/src/libnm-gtk/nm-mobile-wizard.c
@@ -20,8 +20,6 @@
* (C) Copyright 2008 - 2012 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <stdlib.h>
diff --git a/src/libnm-gtk/nm-ui-utils.c b/src/libnm-gtk/nm-ui-utils.c
index c042e669..88bc6bc9 100644
--- a/src/libnm-gtk/nm-ui-utils.c
+++ b/src/libnm-gtk/nm-ui-utils.c
@@ -18,8 +18,6 @@
* Copyright 2007 - 2015 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/libnm-gtk/nm-vpn-password-dialog.c b/src/libnm-gtk/nm-vpn-password-dialog.c
index 9928a44d..adb9ced2 100644
--- a/src/libnm-gtk/nm-vpn-password-dialog.c
+++ b/src/libnm-gtk/nm-vpn-password-dialog.c
@@ -22,8 +22,6 @@
* Dan Williams <dcbw@redhat.com>
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n-lib.h>
diff --git a/src/libnm-gtk/nm-wifi-dialog.c b/src/libnm-gtk/nm-wifi-dialog.c
index 777aca9e..d340c484 100644
--- a/src/libnm-gtk/nm-wifi-dialog.c
+++ b/src/libnm-gtk/nm-wifi-dialog.c
@@ -20,8 +20,6 @@
* (C) Copyright 2007 - 2012 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/libnm-gtk/nm-wireless-dialog.c b/src/libnm-gtk/nm-wireless-dialog.c
index aa0aa942..03c50279 100644
--- a/src/libnm-gtk/nm-wireless-dialog.c
+++ b/src/libnm-gtk/nm-wireless-dialog.c
@@ -20,8 +20,6 @@
* (C) Copyright 2007 - 2012 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <nm-client.h>
diff --git a/src/libnm-gtk/tests/test-mobile-providers.c b/src/libnm-gtk/tests/test-mobile-providers.c
index 1f74e35b..1a7e23c8 100644
--- a/src/libnm-gtk/tests/test-mobile-providers.c
+++ b/src/libnm-gtk/tests/test-mobile-providers.c
@@ -13,8 +13,6 @@
* Copyright (C) 2012 Aleksander Morgado <aleksander@gnu.org>
*/
-#include "config.h"
-
#include "nm-default.h"
#include <locale.h>
diff --git a/src/libnma/init.c b/src/libnma/init.c
index ff33b553..4c60b8eb 100644
--- a/src/libnma/init.c
+++ b/src/libnma/init.c
@@ -18,8 +18,6 @@
* Copyright 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <libintl.h>
diff --git a/src/libnma/nma-mobile-providers.c b/src/libnma/nma-mobile-providers.c
index 5159852d..4d5b0ea9 100644
--- a/src/libnma/nma-mobile-providers.c
+++ b/src/libnma/nma-mobile-providers.c
@@ -22,8 +22,6 @@
* Copyright (C) 2012 Lanedo GmbH
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/libnma/nma-mobile-wizard.c b/src/libnma/nma-mobile-wizard.c
index fbfc5380..351384b7 100644
--- a/src/libnma/nma-mobile-wizard.c
+++ b/src/libnma/nma-mobile-wizard.c
@@ -20,8 +20,6 @@
* (C) Copyright 2008 - 2012 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <stdlib.h>
diff --git a/src/libnma/nma-ui-utils.c b/src/libnma/nma-ui-utils.c
index d26ab22a..6c4a29f4 100644
--- a/src/libnma/nma-ui-utils.c
+++ b/src/libnma/nma-ui-utils.c
@@ -17,8 +17,6 @@
* Copyright 2015 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/libnma/nma-vpn-password-dialog.c b/src/libnma/nma-vpn-password-dialog.c
index e50bc504..b506df71 100644
--- a/src/libnma/nma-vpn-password-dialog.c
+++ b/src/libnma/nma-vpn-password-dialog.c
@@ -22,8 +22,6 @@
* Dan Williams <dcbw@redhat.com>
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n-lib.h>
diff --git a/src/libnma/nma-wifi-dialog.c b/src/libnma/nma-wifi-dialog.c
index 15f65b27..c515b6a8 100644
--- a/src/libnma/nma-wifi-dialog.c
+++ b/src/libnma/nma-wifi-dialog.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/main.c b/src/main.c
index 59d7b873..d07fc7b6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -22,7 +22,7 @@
* (C) Copyright 2005 Red Hat, Inc.
*/
-# include "config.h"
+#include "nm-default.h"
#include <string.h>
#include <stdlib.h>
diff --git a/src/mb-menu-item.c b/src/mb-menu-item.c
index 5fbe383b..f89c2a37 100644
--- a/src/mb-menu-item.c
+++ b/src/mb-menu-item.c
@@ -21,8 +21,6 @@
* Copyright (C) 2005 - 2010 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <stdio.h>
diff --git a/src/mobile-helpers.c b/src/mobile-helpers.c
index 7c3cf181..c88a9143 100644
--- a/src/mobile-helpers.c
+++ b/src/mobile-helpers.c
@@ -20,8 +20,6 @@
* Copyright 2010 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <ctype.h>
diff --git a/src/utils/tests/test-utils.c b/src/utils/tests/test-utils.c
index 496bd9df..9eef4491 100644
--- a/src/utils/tests/test-utils.c
+++ b/src/utils/tests/test-utils.c
@@ -20,8 +20,6 @@
* (C) Copyright 2009 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib.h>
diff --git a/src/utils/utils.c b/src/utils/utils.c
index 2dbf8c4f..4f30e710 100644
--- a/src/utils/utils.c
+++ b/src/utils/utils.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2015 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/wireless-security/eap-method-fast.c b/src/wireless-security/eap-method-fast.c
index 002c5ab5..aa65a50d 100644
--- a/src/wireless-security/eap-method-fast.c
+++ b/src/wireless-security/eap-method-fast.c
@@ -20,8 +20,6 @@
* Copyright 2012 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n.h>
diff --git a/src/wireless-security/eap-method-leap.c b/src/wireless-security/eap-method-leap.c
index c0e71902..2401be3c 100644
--- a/src/wireless-security/eap-method-leap.c
+++ b/src/wireless-security/eap-method-leap.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <ctype.h>
diff --git a/src/wireless-security/eap-method-peap.c b/src/wireless-security/eap-method-peap.c
index 4d65e44f..e1c860ec 100644
--- a/src/wireless-security/eap-method-peap.c
+++ b/src/wireless-security/eap-method-peap.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n.h>
diff --git a/src/wireless-security/eap-method-simple.c b/src/wireless-security/eap-method-simple.c
index 0deea1ed..e6310f2a 100644
--- a/src/wireless-security/eap-method-simple.c
+++ b/src/wireless-security/eap-method-simple.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <ctype.h>
diff --git a/src/wireless-security/eap-method-tls.c b/src/wireless-security/eap-method-tls.c
index a8976b00..de5d46aa 100644
--- a/src/wireless-security/eap-method-tls.c
+++ b/src/wireless-security/eap-method-tls.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n.h>
diff --git a/src/wireless-security/eap-method-ttls.c b/src/wireless-security/eap-method-ttls.c
index e01490da..7a29c00b 100644
--- a/src/wireless-security/eap-method-ttls.c
+++ b/src/wireless-security/eap-method-ttls.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n.h>
diff --git a/src/wireless-security/eap-method.c b/src/wireless-security/eap-method.c
index cc921278..e6edd47b 100644
--- a/src/wireless-security/eap-method.c
+++ b/src/wireless-security/eap-method.c
@@ -21,8 +21,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib.h>
diff --git a/src/wireless-security/helpers.c b/src/wireless-security/helpers.c
index c4d37c5c..aff9db24 100644
--- a/src/wireless-security/helpers.c
+++ b/src/wireless-security/helpers.c
@@ -20,8 +20,6 @@
* Copyright 2009 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include "helpers.h"
diff --git a/src/wireless-security/wireless-security.c b/src/wireless-security/wireless-security.c
index 29a6847d..d0705161 100644
--- a/src/wireless-security/wireless-security.c
+++ b/src/wireless-security/wireless-security.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/wireless-security/ws-dynamic-wep.c b/src/wireless-security/ws-dynamic-wep.c
index ec348af5..3274706c 100644
--- a/src/wireless-security/ws-dynamic-wep.c
+++ b/src/wireless-security/ws-dynamic-wep.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n.h>
diff --git a/src/wireless-security/ws-leap.c b/src/wireless-security/ws-leap.c
index bd145f9f..ae2b7826 100644
--- a/src/wireless-security/ws-leap.c
+++ b/src/wireless-security/ws-leap.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/wireless-security/ws-wep-key.c b/src/wireless-security/ws-wep-key.c
index eef9121d..53a9aafc 100644
--- a/src/wireless-security/ws-wep-key.c
+++ b/src/wireless-security/ws-wep-key.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <string.h>
diff --git a/src/wireless-security/ws-wpa-eap.c b/src/wireless-security/ws-wpa-eap.c
index ddf10095..81c94cb0 100644
--- a/src/wireless-security/ws-wpa-eap.c
+++ b/src/wireless-security/ws-wpa-eap.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <glib/gi18n.h>
diff --git a/src/wireless-security/ws-wpa-psk.c b/src/wireless-security/ws-wpa-psk.c
index 5f560363..d702113b 100644
--- a/src/wireless-security/ws-wpa-psk.c
+++ b/src/wireless-security/ws-wpa-psk.c
@@ -20,8 +20,6 @@
* Copyright 2007 - 2014 Red Hat, Inc.
*/
-#include "config.h"
-
#include "nm-default.h"
#include <ctype.h>