summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2014-06-12 18:44:36 +0000
committerchristos <christos@NetBSD.org>2014-06-12 18:44:36 +0000
commit71a3ecffa7fbf96e2beb2b11c7da4f8e61a60362 (patch)
tree35d2c33464a8771f9d389f505fd816939a49b4e5 /include/stdlib.h
parent1b059b4c7f13d55d75ae539d4d2871c6cf493020 (diff)
fix srandom and initstate signatures (from enh at google)
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index f35df901f2f..00be84181a0 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -1,4 +1,4 @@
-/* $NetBSD: stdlib.h,v 1.107 2014/01/08 02:16:03 christos Exp $ */
+/* $NetBSD: stdlib.h,v 1.108 2014/06/12 18:45:14 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -174,10 +174,12 @@ int putenv(char *) __RENAME(__putenv50);
long a64l(const char *);
char *l64a(long);
-char *initstate(unsigned long, char *, size_t);
long random(void);
char *setstate(char *);
-void srandom(unsigned long);
+#ifndef __LIBC12_SOURCE__
+char *initstate(unsigned int, char *, size_t) __RENAME(__initstate70);
+void srandom(unsigned int) __RENAME(__srandom70);
+#endif
#ifdef _NETBSD_SOURCE
#define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */
#endif