summaryrefslogtreecommitdiffstats
path: root/fortune
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1993-04-20 04:23:07 +0000
committermycroft <mycroft@NetBSD.org>1993-04-20 04:23:07 +0000
commitfe0afaaa1fcf50d1e1278bebfb8aacf7277dea01 (patch)
tree66de3a47f6d09901781360877a7d896ee1b9d089 /fortune
parentaa69c07fbefc1c1f717909bfe47fe3480874a2c1 (diff)
downloadbsdgames-darwin-fe0afaaa1fcf50d1e1278bebfb8aacf7277dea01.tar.gz
bsdgames-darwin-fe0afaaa1fcf50d1e1278bebfb8aacf7277dea01.tar.zst
bsdgames-darwin-fe0afaaa1fcf50d1e1278bebfb8aacf7277dea01.zip
Fix compilation error I introduced.
Diffstat (limited to 'fortune')
-rw-r--r--fortune/fortune/fortune.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fortune/fortune/fortune.c b/fortune/fortune/fortune.c
index 4475102c..36e1a98f 100644
--- a/fortune/fortune/fortune.c
+++ b/fortune/fortune/fortune.c
@@ -58,6 +58,8 @@ static char sccsid[] = "@(#)fortune.c 5.13 (Berkeley) 4/8/91";
# include <stdio.h>
# include <assert.h>
# include <stdlib.h>
+# include <string.h>
+# include <time.h>
# include "strfile.h"
# include "pathnames.h"
@@ -155,10 +157,6 @@ char *do_malloc(), *copy(), *off_name();
FILEDESC *pick_child(), *new_fp();
-extern char *malloc(), *index(), *rindex(), *strcpy(), *strcat();
-
-extern time_t time();
-
#ifndef NO_REGEX
char *conv_pat();
#endif