]> git.cameronkatri.com Git - bsdgames-darwin.git/commitdiff
Fix compilation error I introduced.
authormycroft <mycroft@NetBSD.org>
Tue, 20 Apr 1993 04:23:07 +0000 (04:23 +0000)
committermycroft <mycroft@NetBSD.org>
Tue, 20 Apr 1993 04:23:07 +0000 (04:23 +0000)
fortune/fortune/fortune.c

index 4475102c6c412f387386a39c69645dd0100577a6..36e1a98f848a9ceefb367be5197a325a5d1e4ad1 100644 (file)
@@ -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