summaryrefslogtreecommitdiff
path: root/src/libexecline/el_getstrict.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-12-25 02:40:19 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-12-25 02:40:19 +0000
commit8d3d7956661dcddf5e093a64d996dccff22c15c9 (patch)
tree0ff02f33d1a317fa5ee5a86d4c42e9a598ebaea6 /src/libexecline/el_getstrict.c
parenta774afb87c2d021301437c3a60fdd0039cf2458b (diff)
downloadexecline-8d3d7956661dcddf5e093a64d996dccff22c15c9.tar.xz
Remove env_get
Diffstat (limited to 'src/libexecline/el_getstrict.c')
-rw-r--r--src/libexecline/el_getstrict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexecline/el_getstrict.c b/src/libexecline/el_getstrict.c
index 50127be..2591193 100644
--- a/src/libexecline/el_getstrict.c
+++ b/src/libexecline/el_getstrict.c
@@ -1,6 +1,6 @@
/* ISC license. */
-#include <skalibs/env.h>
+#include <stdlib.h>
#include <skalibs/types.h>
#include <execline/execline.h>
@@ -10,7 +10,7 @@ unsigned int el_getstrict (void)
static int first = 1 ;
if (first)
{
- char const *x = env_get("EXECLINE_STRICT") ;
+ char const *x = getenv("EXECLINE_STRICT") ;
first = 0 ;
if (x) uint0_scan(x, &strict) ;
}