diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/hidden/stdlib.h | 4 | ||||
-rw-r--r-- | lib/libc/stdlib/seed48.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/hidden/stdlib.h b/lib/libc/hidden/stdlib.h index c57d4cd488c..70f7f6e8108 100644 --- a/lib/libc/hidden/stdlib.h +++ b/lib/libc/hidden/stdlib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdlib.h,v 1.1 2015/09/13 08:31:47 guenther Exp $ */ +/* $OpenBSD: stdlib.h,v 1.2 2015/09/13 15:20:40 guenther Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- @@ -124,7 +124,7 @@ PROTO_NORMAL(realloc); PROTO_NORMAL(reallocarray); PROTO_DEPRECATED(realpath); PROTO_DEPRECATED(seed48); -PROTO_DEPRECATED(seed48_deterministic); +PROTO_NORMAL(seed48_deterministic); PROTO_NORMAL(setenv); PROTO_DEPRECATED(setproctitle); PROTO_DEPRECATED(setprogname); diff --git a/lib/libc/stdlib/seed48.c b/lib/libc/stdlib/seed48.c index 0485ed6a10d..b4b4424c73b 100644 --- a/lib/libc/stdlib/seed48.c +++ b/lib/libc/stdlib/seed48.c @@ -1,4 +1,4 @@ -/* $OpenBSD: seed48.c,v 1.5 2015/08/27 04:33:31 guenther Exp $ */ +/* $OpenBSD: seed48.c,v 1.6 2015/09/13 15:20:40 guenther Exp $ */ /* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. @@ -42,3 +42,4 @@ seed48_deterministic(unsigned short xseed[3]) __rand48_add = RAND48_ADD; return sseed; } +DEF_WEAK(seed48_deterministic); |