diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-12 16:23:15 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-12 16:23:15 +0000 |
commit | e62064ff42624273a7cb491d6fad8ea75cc49ec5 (patch) | |
tree | 473d151ed967b36c822bb6651d2e38a2be7f771c /lib/libc/stdlib | |
parent | ba0532728244adb43ac9a8736e12d78e685ed88d (diff) |
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 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/strtoimax.c | 3 | ||||
-rw-r--r-- | lib/libc/stdlib/strtoumax.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/stdlib/strtoimax.c b/lib/libc/stdlib/strtoimax.c index 2fc04e48506..52403a72134 100644 --- a/lib/libc/stdlib/strtoimax.c +++ b/lib/libc/stdlib/strtoimax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strtoimax.c,v 1.2 2014/09/13 20:10:12 schwarze Exp $ */ +/* $OpenBSD: strtoimax.c,v 1.3 2015/09/12 16:23:14 guenther Exp $ */ /* * Copyright (c) 1992 The Regents of the University of California. * All rights reserved. @@ -148,3 +148,4 @@ strtoimax(const char *nptr, char **endptr, int base) *endptr = (char *) (any ? s - 1 : nptr); return (acc); } +DEF_STRONG(strtoimax); diff --git a/lib/libc/stdlib/strtoumax.c b/lib/libc/stdlib/strtoumax.c index c73f7e507ca..4c5e3349f11 100644 --- a/lib/libc/stdlib/strtoumax.c +++ b/lib/libc/stdlib/strtoumax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strtoumax.c,v 1.2 2014/09/13 20:10:12 schwarze Exp $ */ +/* $OpenBSD: strtoumax.c,v 1.3 2015/09/12 16:23:14 guenther Exp $ */ /* * Copyright (c) 1992 The Regents of the University of California. * All rights reserved. @@ -106,3 +106,4 @@ strtoumax(const char *nptr, char **endptr, int base) *endptr = (char *) (any ? s - 1 : nptr); return (acc); } +DEF_STRONG(strtoumax); |