X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fposixtm.c;h=7ddf182ff7345631b1d4bb7d7f641940dcfd49cc;hb=9db47123ce74651bda88707c3f67441622aae399;hp=41c00ad677906d66445670a2c0e56b4f51419aec;hpb=b20a6a6e55940a5219dfe54a84f8a5abed5fa1b6;p=gnulib.git diff --git a/lib/posixtm.c b/lib/posixtm.c index 41c00ad67..7ddf182ff 100644 --- a/lib/posixtm.c +++ b/lib/posixtm.c @@ -1,5 +1,5 @@ /* Parse dates for touch and date. - Copyright (C) 1989, 1990, 1991, 1998, 2000-2002 Free Software Foundation Inc. + Copyright (C) 1989, 1990, 1991, 1998, 2000-2003 Free Software Foundation Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,22 +22,12 @@ # include #endif -#if HAVE_STDBOOL_H -# include -#else -typedef enum {false = 0, true = 1} bool; -#endif +#include #include -#if HAVE_STDLIB_H -# include -#endif +#include #include -#if HAVE_STRING_H -# include -#else -# include -#endif +#include #ifdef TM_IN_SYS_TIME # include @@ -298,7 +288,7 @@ END-DATA # define MAX_BUFF_LEN 1024 int -main () +main (void) { char buff[MAX_BUFF_LEN + 1];