diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/posixtm.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/posixtm.c b/lib/posixtm.c index 49e239c88..7ddf182ff 100644 --- a/lib/posixtm.c +++ b/lib/posixtm.c @@ -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]; |