diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-13 22:50:42 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-13 22:50:42 +0000 |
commit | 5b0439c38d71aed8b6b8addbc7ecce1a9b026a6b (patch) | |
tree | 80a88fa737a81de45d6b4e0ce70ac598b839b3e2 | |
parent | 54979a7b81a397eca8438d3def2a0fe5b19825e0 (diff) | |
download | execline-5b0439c38d71aed8b6b8addbc7ecce1a9b026a6b.tar.xz |
More superfluous headers cleanup
-rw-r--r-- | src/libexecline/el_parse_from_buffer.c | 1 | ||||
-rw-r--r-- | src/libexecline/el_spawn0.c | 1 | ||||
-rw-r--r-- | src/libexecline/el_spawn1.c | 1 | ||||
-rw-r--r-- | src/libexecline/el_substandrun.c | 3 | ||||
-rw-r--r-- | src/libexecline/el_substandrun_str.c | 1 |
5 files changed, 1 insertions, 6 deletions
diff --git a/src/libexecline/el_parse_from_buffer.c b/src/libexecline/el_parse_from_buffer.c index f0d0578..62a63ce 100644 --- a/src/libexecline/el_parse_from_buffer.c +++ b/src/libexecline/el_parse_from_buffer.c @@ -2,7 +2,6 @@ #include <sys/types.h> #include <skalibs/buffer.h> -#include <skalibs/stralloc.h> #include <execline/execline.h> static int next (unsigned char *c, void *p) diff --git a/src/libexecline/el_spawn0.c b/src/libexecline/el_spawn0.c index 3e61ae1..7e10902 100644 --- a/src/libexecline/el_spawn0.c +++ b/src/libexecline/el_spawn0.c @@ -1,6 +1,5 @@ /* ISC license. */ -#include <sys/types.h> #include <skalibs/djbunix.h> #include <execline/config.h> #include <execline/execline.h> diff --git a/src/libexecline/el_spawn1.c b/src/libexecline/el_spawn1.c index f434d70..937f1a3 100644 --- a/src/libexecline/el_spawn1.c +++ b/src/libexecline/el_spawn1.c @@ -1,6 +1,5 @@ /* ISC license. */ -#include <sys/types.h> #include <skalibs/djbunix.h> #include <execline/config.h> #include <execline/execline.h> diff --git a/src/libexecline/el_substandrun.c b/src/libexecline/el_substandrun.c index 8b8084a..11502ea 100644 --- a/src/libexecline/el_substandrun.c +++ b/src/libexecline/el_substandrun.c @@ -1,6 +1,5 @@ /* ISC license. */ -#include <sys/types.h> #include <skalibs/env.h> #include <skalibs/strerr2.h> #include <skalibs/skamisc.h> @@ -9,6 +8,6 @@ void el_substandrun (int argc, char const *const *argv, char const *const *envp, exlsn_t const *info) { satmp.len = 0 ; - if (!env_string(&satmp, argv, (size_t)argc)) strerr_diefu1sys(111, "env_string") ; + if (!env_string(&satmp, argv, (unsigned int)argc)) strerr_diefu1sys(111, "env_string") ; el_substandrun_str(&satmp, 0, envp, info) ; } diff --git a/src/libexecline/el_substandrun_str.c b/src/libexecline/el_substandrun_str.c index f87bddf..6680957 100644 --- a/src/libexecline/el_substandrun_str.c +++ b/src/libexecline/el_substandrun_str.c @@ -1,6 +1,5 @@ /* ISC license. */ -#include <sys/types.h> #include <unistd.h> #include <skalibs/djbunix.h> #include <skalibs/env.h> |