summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
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}