-#ifndef lint
-static char sccsid[] = "@(#)random.c 4.2 (Berkeley) 83/01/02";
-#endif
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#if defined(LIBC_SCCS) && !defined(lint)
+static char sccsid[] = "@(#)random.c 5.2 (Berkeley) 3/9/86";
+#endif LIBC_SCCS and not lint
#include <stdio.h>
* the front and rear pointers have wrapped.
*/
-static long *state = &randtbl[ -1 ];
+static long *state = &randtbl[ 1 ];
static int rand_type = TYPE_3;
static int rand_deg = DEG_3;