diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 08:31:49 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 08:31:49 +0000 |
commit | 219271e05791f714c6773e2c340b9b4edd65ecb5 (patch) | |
tree | 29048a1ccab17cccae97e6c48797ebf9cd39b82b /lib/libc/stdlib/strtol.c | |
parent | 2223ad9f29c5814db092acde717ec2b6862fce5f (diff) |
Wrap <stdlib.h> so that calls go direct and the symbols not in the
C standard are all weak.
Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the
arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols.
Diffstat (limited to 'lib/libc/stdlib/strtol.c')
-rw-r--r-- | lib/libc/stdlib/strtol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdlib/strtol.c b/lib/libc/stdlib/strtol.c index 86cec350864..49465e28ee8 100644 --- a/lib/libc/stdlib/strtol.c +++ b/lib/libc/stdlib/strtol.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strtol.c,v 1.10 2014/09/13 20:10:12 schwarze Exp $ */ +/* $OpenBSD: strtol.c,v 1.11 2015/09/13 08:31:48 guenther Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -148,3 +148,4 @@ strtol(const char *nptr, char **endptr, int base) *endptr = (char *) (any ? s - 1 : nptr); return (acc); } +DEF_STRONG(strtol); |