diff options
Diffstat (limited to 'src/bin/util.c')
| -rw-r--r-- | src/bin/util.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/bin/util.c b/src/bin/util.c index c609e48..40892b0 100644 --- a/src/bin/util.c +++ b/src/bin/util.c @@ -19,22 +19,6 @@ #include "aplwc_repl.h" -unsigned long -getenv_ulong(const char *name, unsigned long def) -{ - unsigned long ret, parsed; - char *env, *p; - - ret = def; - env = getenv(name); - if((env != NULL) && (strlen(env) > 0)){ - parsed = strtoul(env, &p, 10); - if((*p) == 0) - ret = parsed; - } - return ret; -} - long getenv_long(const char *name, long def) { |