summaryrefslogtreecommitdiff
path: root/src/libexecline/el_substandrun.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-13 22:50:42 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-13 22:50:42 +0000
commit5b0439c38d71aed8b6b8addbc7ecce1a9b026a6b (patch)
tree80a88fa737a81de45d6b4e0ce70ac598b839b3e2 /src/libexecline/el_substandrun.c
parent54979a7b81a397eca8438d3def2a0fe5b19825e0 (diff)
downloadexecline-5b0439c38d71aed8b6b8addbc7ecce1a9b026a6b.tar.xz
More superfluous headers cleanup
Diffstat (limited to 'src/libexecline/el_substandrun.c')
-rw-r--r--src/libexecline/el_substandrun.c3
1 files changed, 1 insertions, 2 deletions
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) ;
}