mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Include <stdlib.h>, <string.h> unconditionally.
(main): Define with a prototype.
This commit is contained in:
1 parent
8afa24fc2f
commit
1512acb7e5
1 file changed
+3
-9
+3
-9
@@ -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];
|
||||
|
||||
|
||||
Reference in new issue
Block a user