diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 11:36:17 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 11:36:17 +0000 |
commit | 917aac340c0d6bad5d1ad0a0d5de4105aa30316b (patch) | |
tree | a5f5d12f3d73360621c401efd320f48a5061c9e8 /lib/libc/uuid | |
parent | ccd46baa8d5d13bb9e355014c9d2871d15ab28a6 (diff) |
Wrap <uuid.h> so that calls go direct and the symbols are all weak
Diffstat (limited to 'lib/libc/uuid')
-rw-r--r-- | lib/libc/uuid/uuid_create_nil.c | 3 | ||||
-rw-r--r-- | lib/libc/uuid/uuid_is_nil.c | 3 |
2 files changed, 4 insertions, 2 deletions
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); |