summaryrefslogtreecommitdiffstats
path: root/fortune
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1993-04-18 21:52:18 +0000
committermycroft <mycroft@NetBSD.org>1993-04-18 21:52:18 +0000
commit9b85680687e77d758ed4d5f002375aa6f88dc803 (patch)
treec56ea44ec5afb5b70ac6ca16fafdc70a663e3a79 /fortune
parentd244d8703e3d0edbd492dca367d74db166e8a687 (diff)
downloadbsdgames-darwin-9b85680687e77d758ed4d5f002375aa6f88dc803.tar.gz
bsdgames-darwin-9b85680687e77d758ed4d5f002375aa6f88dc803.tar.zst
bsdgames-darwin-9b85680687e77d758ed4d5f002375aa6f88dc803.zip
Cleanup for GCC 2.
Diffstat (limited to 'fortune')
-rw-r--r--fortune/fortune/fortune.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortune/fortune/fortune.c b/fortune/fortune/fortune.c
index af138220..4475102c 100644
--- a/fortune/fortune/fortune.c
+++ b/fortune/fortune/fortune.c
@@ -57,6 +57,7 @@ static char sccsid[] = "@(#)fortune.c 5.13 (Berkeley) 4/8/91";
# include <sys/dir.h>
# include <stdio.h>
# include <assert.h>
+# include <stdlib.h>
# include "strfile.h"
# include "pathnames.h"
@@ -925,7 +926,6 @@ get_fort()
{
register FILEDESC *fp;
register int choice;
- long random();
if (File_list->next == NULL || File_list->percent == NO_PROB)
fp = File_list;