summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authorjsg <>2021-10-24 10:05:23 +0000
committerjsg <>2021-10-24 10:05:23 +0000
commit6293deec24fd2fc1af41365c46711340cb0d96fb (patch)
tree79cc4fdd2c1f3fba90164238087492d2e661ff2e /src/lib/libc/stdlib
parent79e9a7f00a5016ca19c39c01db2662288d41c40f (diff)
downloadopenbsd-6293deec24fd2fc1af41365c46711340cb0d96fb.tar.gz
openbsd-6293deec24fd2fc1af41365c46711340cb0d96fb.tar.bz2
openbsd-6293deec24fd2fc1af41365c46711340cb0d96fb.zip
ansi
ok mpi@ deraadt@
Diffstat (limited to 'src/lib/libc/stdlib')
-rw-r--r--src/lib/libc/stdlib/atoll.c5
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
33long long 33long long
34atoll(str) 34atoll(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}