summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtoimax.c
diff options
context:
space:
mode:
authorguenther <>2015-09-12 16:23:14 +0000
committerguenther <>2015-09-12 16:23:14 +0000
commit913cc548a379f5f2408e621a6c02c786392dab9d (patch)
tree5148a0ffe69b5fa2b2c4caf343db71769142afed /src/lib/libc/stdlib/strtoimax.c
parent56a3e20d1e41c02e4afd069925ec512ebb40b905 (diff)
downloadopenbsd-913cc548a379f5f2408e621a6c02c786392dab9d.tar.gz
openbsd-913cc548a379f5f2408e621a6c02c786392dab9d.tar.bz2
openbsd-913cc548a379f5f2408e621a6c02c786392dab9d.zip
Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct
and the symbols not in the C standard are weak
Diffstat (limited to 'src/lib/libc/stdlib/strtoimax.c')
-rw-r--r--src/lib/libc/stdlib/strtoimax.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/strtoimax.c b/src/lib/libc/stdlib/strtoimax.c
index 2fc04e4850..52403a7213 100644
--- a/src/lib/libc/stdlib/strtoimax.c
+++ b/src/lib/libc/stdlib/strtoimax.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: strtoimax.c,v 1.2 2014/09/13 20:10:12 schwarze Exp $ */ 1/* $OpenBSD: strtoimax.c,v 1.3 2015/09/12 16:23:14 guenther Exp $ */
2/* 2/*
3 * Copyright (c) 1992 The Regents of the University of California. 3 * Copyright (c) 1992 The Regents of the University of California.
4 * All rights reserved. 4 * All rights reserved.
@@ -148,3 +148,4 @@ strtoimax(const char *nptr, char **endptr, int base)
148 *endptr = (char *) (any ? s - 1 : nptr); 148 *endptr = (char *) (any ? s - 1 : nptr);
149 return (acc); 149 return (acc);
150} 150}
151DEF_STRONG(strtoimax);