From e62064ff42624273a7cb491d6fad8ea75cc49ec5 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 12 Sep 2015 16:23:15 +0000 Subject: Wrap and finish wrapping of so that calls go direct and the symbols not in the C standard are weak --- lib/libc/stdlib/strtoimax.c | 3 ++- lib/libc/stdlib/strtoumax.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libc/stdlib') 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); -- cgit v1.2.3