diff options
Diffstat (limited to 'mcon/U/i_time.U')
-rw-r--r-- | mcon/U/i_time.U | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mcon/U/i_time.U b/mcon/U/i_time.U index 8791b11..bd88567 100644 --- a/mcon/U/i_time.U +++ b/mcon/U/i_time.U @@ -1,11 +1,11 @@ -?RCS: $Id: i_time.U 1 2006-08-24 12:32:52Z rmanfredi $ +?RCS: $Id: i_time.U 167 2013-05-08 17:58:00Z rmanfredi $ ?RCS: ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ?RCS: -?RCS: You may redistribute only under the terms of the Artistic Licence, +?RCS: You may redistribute only under the terms of the Artistic License, ?RCS: as specified in the README file that comes with the distribution. ?RCS: You may reuse parts of this distribution only within the terms of -?RCS: that same Artistic Licence; a copy of which may be found at the root +?RCS: that same Artistic License; a copy of which may be found at the root ?RCS: of the source tree for dist 4.0. ?RCS: ?RCS: $Log: i_time.U,v $ @@ -73,7 +73,7 @@ $cat >try.c <<'EOCP' #ifdef I_SYSSELECT #include <sys/select.h> #endif -int main() +int main(void) { struct tm foo; #ifdef S_TIMEVAL @@ -83,12 +83,12 @@ int main() struct timezone tzp; #endif if (foo.tm_sec == foo.tm_sec) - exit(0); + return 0; #ifdef S_TIMEVAL if (bar.tv_sec == bar.tv_sec) - exit(0); + return 0; #endif - exit(1); + return 1; } EOCP flags='' |