diff options
-rw-r--r-- | fortune/fortune/fortune.c | 6 |
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 |