summaryrefslogtreecommitdiff
path: root/libbb/safe_strtol.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-05 10:17:08 +0000
committerDenis Vlasenko2006-10-05 10:17:08 +0000
commit7d219aab70e6951ab82c27c202cac05016696723 (patch)
tree4c0679bfa391f71aee9b51505a5d3dc8f60a0cf7 /libbb/safe_strtol.c
parent8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (diff)
downloadbusybox-7d219aab70e6951ab82c27c202cac05016696723.zip
busybox-7d219aab70e6951ab82c27c202cac05016696723.tar.gz
build system overhaul
Diffstat (limited to 'libbb/safe_strtol.c')
-rw-r--r--libbb/safe_strtol.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libbb/safe_strtol.c b/libbb/safe_strtol.c
index 2e8fa95..027fc1e 100644
--- a/libbb/safe_strtol.c
+++ b/libbb/safe_strtol.c
@@ -12,7 +12,6 @@
#include <assert.h>
#include "libbb.h"
-#ifdef L_safe_strtoi
int safe_strtoi(char *arg, int* value)
{
int error;
@@ -21,9 +20,7 @@ int safe_strtoi(char *arg, int* value)
*value = (int) lvalue;
return error;
}
-#endif
-#ifdef L_safe_strtod
int safe_strtod(char *arg, double* value)
{
char *endptr;
@@ -38,9 +35,7 @@ int safe_strtod(char *arg, double* value)
errno = errno_save;
return 0;
}
-#endif
-#ifdef L_safe_strtol
int safe_strtol(char *arg, long* value)
{
char *endptr;
@@ -55,9 +50,7 @@ int safe_strtol(char *arg, long* value)
errno = errno_save;
return 0;
}
-#endif
-#ifdef L_safe_strtoul
int safe_strtoul(char *arg, unsigned long* value)
{
char *endptr;
@@ -72,9 +65,7 @@ int safe_strtoul(char *arg, unsigned long* value)
errno = errno_save;
return 0;
}
-#endif
-#ifdef L_safe_strtoll
int safe_strtoll(char *arg, long long* value)
{
char *endptr;
@@ -89,9 +80,7 @@ int safe_strtoll(char *arg, long long* value)
errno = errno_save;
return 0;
}
-#endif
-#ifdef L_safe_strtoull
int safe_strtoull(char *arg, unsigned long long* value)
{
char *endptr;
@@ -106,5 +95,3 @@ int safe_strtoull(char *arg, unsigned long long* value)
errno = errno_save;
return 0;
}
-#endif
-