From 917aac340c0d6bad5d1ad0a0d5de4105aa30316b Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sun, 13 Sep 2015 11:36:17 +0000 Subject: Wrap so that calls go direct and the symbols are all weak --- lib/libc/uuid/uuid_create_nil.c | 3 ++- lib/libc/uuid/uuid_is_nil.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libc/uuid') diff --git a/lib/libc/uuid/uuid_create_nil.c b/lib/libc/uuid/uuid_create_nil.c index 05cdda061ad..90c54e1aba3 100644 --- a/lib/libc/uuid/uuid_create_nil.c +++ b/lib/libc/uuid/uuid_create_nil.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uuid_create_nil.c,v 1.2 2015/09/10 18:13:46 guenther Exp $ */ +/* $OpenBSD: uuid_create_nil.c,v 1.3 2015/09/13 11:36:16 guenther Exp $ */ /* $NetBSD: uuid_create_nil.c,v 1.2 2005/02/09 21:35:47 kleink Exp $ */ /* @@ -46,3 +46,4 @@ uuid_create_nil(uuid_t *u, uint32_t *status) if (status) *status = uuid_s_ok; } +DEF_WEAK(uuid_create_nil); diff --git a/lib/libc/uuid/uuid_is_nil.c b/lib/libc/uuid/uuid_is_nil.c index 70620950b4c..b5b9eb64f06 100644 --- a/lib/libc/uuid/uuid_is_nil.c +++ b/lib/libc/uuid/uuid_is_nil.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uuid_is_nil.c,v 1.2 2015/09/10 18:13:46 guenther Exp $ */ +/* $OpenBSD: uuid_is_nil.c,v 1.3 2015/09/13 11:36:16 guenther Exp $ */ /* $NetBSD: uuid_is_nil.c,v 1.4 2008/04/23 07:52:32 plunky Exp $ */ /* @@ -51,3 +51,4 @@ uuid_is_nil(const uuid_t *u, uint32_t *status) return (memcmp(u, &nil, sizeof(uuid_t)) == 0 ? 1 : 0); } +DEF_WEAK(uuid_is_nil); -- cgit v1.2.3