summaryrefslogtreecommitdiffstats
path: root/trek/ranf.c
diff options
context:
space:
mode:
Diffstat (limited to 'trek/ranf.c')
-rw-r--r--trek/ranf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/trek/ranf.c b/trek/ranf.c
index 24e3328f..2b553d9b 100644
--- a/trek/ranf.c
+++ b/trek/ranf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ranf.c,v 1.5 2003/08/07 09:37:53 agc Exp $ */
+/* $NetBSD: ranf.c,v 1.6 2009/05/24 19:18:44 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)ranf.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: ranf.c,v 1.5 2003/08/07 09:37:53 agc Exp $");
+__RCSID("$NetBSD: ranf.c,v 1.6 2009/05/24 19:18:44 dholland Exp $");
#endif
#endif /* not lint */
@@ -43,8 +43,7 @@ __RCSID("$NetBSD: ranf.c,v 1.5 2003/08/07 09:37:53 agc Exp $");
#include "trek.h"
int
-ranf(max)
-int max;
+ranf(int max)
{
int t;
@@ -55,7 +54,8 @@ int max;
}
-double franf()
+double
+franf(void)
{
double t;
t = rand() & 077777;