Include <stdlib.h>, <string.h> unconditionally.

(main): Define with a prototype.
This commit is contained in:
Jim Meyering committed 2003-09-10 09:07:17 +00:00
1 parent 8afa24fc2f
commit 1512acb7e5
1 file changed
+3 -9
+3 -9
View File
@@ -25,15 +25,9 @@
#include <stdbool.h>
#include <stdio.h>
#if HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#include <sys/types.h>
#if HAVE_STRING_H
# include <string.h>
#else
# include <strings.h>
#endif
#include <string.h>
#ifdef TM_IN_SYS_TIME
# include <sys/time.h>
@@ -294,7 +288,7 @@ END-DATA
# define MAX_BUFF_LEN 1024
int
main ()
main (void)
{
char buff[MAX_BUFF_LEN + 1];