Module Name: src Committed By: christos Date: Thu Jun 12 18:50:13 UTC 2014
Modified Files: src/lib/libc/compat/include: stdlib.h src/lib/libc/compat/stdlib: compat_random.c Log Message: rename to 60 To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/compat/include/stdlib.h cvs rdiff -u -r1.1 -r1.2 src/lib/libc/compat/stdlib/compat_random.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/compat/include/stdlib.h diff -u src/lib/libc/compat/include/stdlib.h:1.6 src/lib/libc/compat/include/stdlib.h:1.7 --- src/lib/libc/compat/include/stdlib.h:1.6 Thu Jun 12 14:44:36 2014 +++ src/lib/libc/compat/include/stdlib.h Thu Jun 12 14:50:12 2014 @@ -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 @@ int __putenv50(char *); __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 Index: src/lib/libc/compat/stdlib/compat_random.c diff -u src/lib/libc/compat/stdlib/compat_random.c:1.1 src/lib/libc/compat/stdlib/compat_random.c:1.2 --- src/lib/libc/compat/stdlib/compat_random.c:1.1 Thu Jun 12 14:44:36 2014 +++ src/lib/libc/compat/stdlib/compat_random.c Thu Jun 12 14:50:12 2014 @@ -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 @@ __warn_references(srandom, 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); }