diff options
author | jsg <> | 2021-10-24 10:05:23 +0000 |
---|---|---|
committer | jsg <> | 2021-10-24 10:05:23 +0000 |
commit | 8fada2576d7c097515c5999de25d0ceb1221f65a (patch) | |
tree | 79cc4fdd2c1f3fba90164238087492d2e661ff2e /src/lib/libc/stdlib/atoll.c | |
parent | 55284259e1298bc6d312273a216908fea3f8afb5 (diff) | |
download | openbsd-8fada2576d7c097515c5999de25d0ceb1221f65a.tar.gz openbsd-8fada2576d7c097515c5999de25d0ceb1221f65a.tar.bz2 openbsd-8fada2576d7c097515c5999de25d0ceb1221f65a.zip |
ansi
ok mpi@ deraadt@
Diffstat (limited to 'src/lib/libc/stdlib/atoll.c')
-rw-r--r-- | src/lib/libc/stdlib/atoll.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/atoll.c b/src/lib/libc/stdlib/atoll.c index a65e682cfb..32caf299e4 100644 --- a/src/lib/libc/stdlib/atoll.c +++ b/src/lib/libc/stdlib/atoll.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: atoll.c,v 1.3 2005/08/08 08:05:36 espie Exp $ */ | 1 | /* $OpenBSD: atoll.c,v 1.4 2021/10/24 10:05:23 jsg Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1988 Regents of the University of California. | 3 | * Copyright (c) 1988 Regents of the University of California. |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -31,8 +31,7 @@ | |||
31 | #include <stdlib.h> | 31 | #include <stdlib.h> |
32 | 32 | ||
33 | long long | 33 | long long |
34 | atoll(str) | 34 | atoll(const char *str) |
35 | const char *str; | ||
36 | { | 35 | { |
37 | return(strtoll(str, (char **)NULL, 10)); | 36 | return(strtoll(str, (char **)NULL, 10)); |
38 | } | 37 | } |