diff options
author | Thomas Haller <thaller@redhat.com> | 2019-01-31 13:44:13 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-02-12 08:50:28 +0100 |
commit | a3370af3a8a965e41950c5022182730d79614df2 (patch) | |
tree | 78f971ab718bd6005f26ccefaf618c5faed5600f /src/ppp | |
parent | 32a847a61f031813865199366318d047ca38c2f1 (diff) | |
download | NetworkManager-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 'src/ppp')
-rw-r--r-- | src/ppp/nm-ppp-manager-call.c | 1 | ||||
-rw-r--r-- | src/ppp/nm-ppp-manager.c | 2 | ||||
-rw-r--r-- | src/ppp/nm-pppd-plugin.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/src/ppp/nm-ppp-manager-call.c b/src/ppp/nm-ppp-manager-call.c index 8f6584167a..d951e4fd1a 100644 --- a/src/ppp/nm-ppp-manager-call.c +++ b/src/ppp/nm-ppp-manager-call.c @@ -24,7 +24,6 @@ #include <sys/types.h> #include <sys/stat.h> -#include <errno.h> #include "nm-manager.h" #include "nm-core-utils.h" diff --git a/src/ppp/nm-ppp-manager.c b/src/ppp/nm-ppp-manager.c index 548f46606f..2f6cb03294 100644 --- a/src/ppp/nm-ppp-manager.c +++ b/src/ppp/nm-ppp-manager.c @@ -26,11 +26,9 @@ #include <sys/types.h> #include <sys/wait.h> #include <signal.h> -#include <string.h> #include <unistd.h> #include <arpa/inet.h> #include <stdlib.h> -#include <errno.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <asm/types.h> diff --git a/src/ppp/nm-pppd-plugin.c b/src/ppp/nm-pppd-plugin.c index 5e99be4112..a8d6749a43 100644 --- a/src/ppp/nm-pppd-plugin.c +++ b/src/ppp/nm-pppd-plugin.c @@ -22,7 +22,6 @@ #include <config.h> #define ___CONFIG_H__ -#include <string.h> #include <pppd/pppd.h> #include <pppd/fsm.h> #include <pppd/ipcp.h> |