summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/atol.c
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2015-09-20 20:24:28 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2015-09-20 20:24:28 +0000
commitf98e0c9dd831748338a7856c0e98678ea8181d19 (patch)
treebe0fcdcc2e09e35233a813ebe7bb4842caab3e62 /lib/libc/stdlib/atol.c
parent55b6b759c89e6a44468ff442f11bc2a4a1775699 (diff)
Notes
Diffstat (limited to 'lib/libc/stdlib/atol.c')
-rw-r--r--lib/libc/stdlib/atol.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/stdlib/atol.c b/lib/libc/stdlib/atol.c
index d30aa18a8398..bd8ef07c544d 100644
--- a/lib/libc/stdlib/atol.c
+++ b/lib/libc/stdlib/atol.c
@@ -42,16 +42,13 @@ __FBSDID("$FreeBSD$");
#include <xlocale.h>
long
-atol(str)
- const char *str;
+atol(const char *str)
{
return strtol(str, (char **)NULL, 10);
}
long
-atol_l(str, locale)
- const char *str;
- locale_t locale;
+atol_l(const char *str, locale_t locale)
{
return strtol_l(str, (char **)NULL, 10, locale);
}