summaryrefslogtreecommitdiff
path: root/src/main-utils.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-04-30 03:26:06 +0200
committerThomas Haller <thaller@redhat.com>2016-04-30 03:42:16 +0200
commitc5ac69174464521e8d20d8e5e1e8ec1cefe41773 (patch)
tree86097d0b69d7a7ab6cd506d1cc8873f125c0a37b /src/main-utils.c
parent9f29cc13e7fc8afde887d2832f75b5372ec83457 (diff)
downloadNetworkManager-c5ac69174464521e8d20d8e5e1e8ec1cefe41773.tar.gz
build: cleanup includes of <gmodule.h>
<gmodule.h> is implicitly included by <gio/gio.h> which is available everywhere. For that reason, we would not have to include this header at all. However, it is recommended to explicitly include <gmodule.h> where needed. So, include it where needed -- if <gio/gio.h> wouldn't be there -- and drop it from where it is not needed.
Diffstat (limited to 'src/main-utils.c')
-rw-r--r--src/main-utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main-utils.c b/src/main-utils.c
index 8624280221..b94e8b2199 100644
--- a/src/main-utils.c
+++ b/src/main-utils.c
@@ -31,7 +31,6 @@
#include <glib/gstdio.h>
#include <glib-unix.h>
-#include <gmodule.h>
#include "main-utils.h"
#include "NetworkManagerUtils.h"