Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src rename to 60
details: https://anonhg.NetBSD.org/src/rev/bc03ebe4bb66
branches: trunk
changeset: 329871:bc03ebe4bb66
user: christos <christos%NetBSD.org@localhost>
date: Thu Jun 12 18:49:37 2014 +0000
description:
rename to 60
diffstat:
include/stdlib.h | 6 +++---
lib/libc/compat/include/stdlib.h | 6 +++---
lib/libc/compat/stdlib/compat_random.c | 8 ++++----
3 files changed, 10 insertions(+), 10 deletions(-)
diffs (72 lines):
diff -r 4bdf8ab2983c -r bc03ebe4bb66 include/stdlib.h
--- a/include/stdlib.h Thu Jun 12 18:46:32 2014 +0000
+++ b/include/stdlib.h Thu Jun 12 18:49:37 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stdlib.h,v 1.108 2014/06/12 18:45:14 christos Exp $ */
+/* $NetBSD: stdlib.h,v 1.109 2014/06/12 18:49:37 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -177,8 +177,8 @@
long random(void);
char *setstate(char *);
#ifndef __LIBC12_SOURCE__
-char *initstate(unsigned int, char *, size_t) __RENAME(__initstate70);
-void srandom(unsigned int) __RENAME(__srandom70);
+char *initstate(unsigned int, char *, size_t) __RENAME(__initstate60);
+void srandom(unsigned int) __RENAME(__srandom60);
#endif
#ifdef _NETBSD_SOURCE
#define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */
diff -r 4bdf8ab2983c -r bc03ebe4bb66 lib/libc/compat/include/stdlib.h
--- a/lib/libc/compat/include/stdlib.h Thu Jun 12 18:46:32 2014 +0000
+++ b/lib/libc/compat/include/stdlib.h Thu Jun 12 18:49:37 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stdlib.h,v 1.6 2014/06/12 18:44:36 christos Exp $ */
+/* $NetBSD: stdlib.h,v 1.7 2014/06/12 18:50:12 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -43,9 +43,9 @@
__aconst char *devname(int32_t, mode_t);
__aconst char *__devname50(dev_t, mode_t);
char *initstate(unsigned long, char *, size_t);
-char *__initstate70(unsigned int, char *, size_t);
+char *__initstate60(unsigned int, char *, size_t);
void srandom(unsigned long);
-void __srandom70(unsigned int);
+void __srandom60(unsigned int);
__END_DECLS
diff -r 4bdf8ab2983c -r bc03ebe4bb66 lib/libc/compat/stdlib/compat_random.c
--- a/lib/libc/compat/stdlib/compat_random.c Thu Jun 12 18:46:32 2014 +0000
+++ b/lib/libc/compat/stdlib/compat_random.c Thu Jun 12 18:49:37 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_random.c,v 1.1 2014/06/12 18:44:36 christos Exp $ */
+/* $NetBSD: compat_random.c,v 1.2 2014/06/12 18:50:12 christos Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: compat_random.c,v 1.1 2014/06/12 18:44:36 christos Exp $");
+__RCSID("$NetBSD: compat_random.c,v 1.2 2014/06/12 18:50:12 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#define __LIBC12_SOURCE__
@@ -58,10 +58,10 @@
char *
initstate(unsigned long seed, char * buf, size_t len) {
- return __initstate70((unsigned int)seed, buf, len);
+ return __initstate60((unsigned int)seed, buf, len);
}
void
srandom(unsigned long seed) {
- __srandom70((unsigned int)seed);
+ __srandom60((unsigned int)seed);
}
Home |
Main Index |
Thread Index |
Old Index