summaryrefslogtreecommitdiff
path: root/src/dnsmasq
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 /src/dnsmasq
parent32a847a61f031813865199366318d047ca38c2f1 (diff)
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 'src/dnsmasq')
-rw-r--r--src/dnsmasq/nm-dnsmasq-manager.c1
-rw-r--r--src/dnsmasq/nm-dnsmasq-utils.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/dnsmasq/nm-dnsmasq-manager.c b/src/dnsmasq/nm-dnsmasq-manager.c
index 1afc6e0d71..43bc66fcae 100644
--- a/src/dnsmasq/nm-dnsmasq-manager.c
+++ b/src/dnsmasq/nm-dnsmasq-manager.c
@@ -25,7 +25,6 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
-#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <stdlib.h>
diff --git a/src/dnsmasq/nm-dnsmasq-utils.c b/src/dnsmasq/nm-dnsmasq-utils.c
index 382b3aeb49..ec5545d3ec 100644
--- a/src/dnsmasq/nm-dnsmasq-utils.c
+++ b/src/dnsmasq/nm-dnsmasq-utils.c
@@ -20,7 +20,6 @@
#include "nm-default.h"
-#include <string.h>
#include <arpa/inet.h>
#include "nm-dnsmasq-utils.h"