summaryrefslogtreecommitdiff
path: root/libnm-util
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-01-31 13:44:13 +0100
committerThomas Haller <thaller@redhat.com>2019-02-12 08:50:28 +0100
commita3370af3a8a965e41950c5022182730d79614df2 (patch)
tree78f971ab718bd6005f26ccefaf618c5faed5600f /libnm-util
parent32a847a61f031813865199366318d047ca38c2f1 (diff)
downloadNetworkManager-a3370af3a8a965e41950c5022182730d79614df2.tar.gz
all: drop unnecessary includes of <errno.h> and <string.h>
"nm-macros-interal.h" already includes <errno.h> and <string.h>. No need to include it everywhere else too.
Diffstat (limited to 'libnm-util')
-rw-r--r--libnm-util/nm-setting-bond.c1
-rw-r--r--libnm-util/nm-setting-vpn.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/libnm-util/nm-setting-bond.c b/libnm-util/nm-setting-bond.c
index a54e93c3a5..9a1c5c7391 100644
--- a/libnm-util/nm-setting-bond.c
+++ b/libnm-util/nm-setting-bond.c
@@ -23,7 +23,6 @@
#include <string.h>
#include <stdlib.h>
-#include <errno.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <dbus/dbus-glib.h>
diff --git a/libnm-util/nm-setting-vpn.c b/libnm-util/nm-setting-vpn.c
index 1fed9eca38..626ba4ca84 100644
--- a/libnm-util/nm-setting-vpn.c
+++ b/libnm-util/nm-setting-vpn.c
@@ -22,7 +22,6 @@
#include "nm-default.h"
#include <string.h>
-#include <errno.h>
#include <stdlib.h>
#include <dbus/dbus-glib.h>