diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/test-tz.c | 4 | ||||
-rw-r--r-- | time/time.h | 28 |
2 files changed, 16 insertions, 16 deletions
diff --git a/time/test-tz.c b/time/test-tz.c index 47565cedec..c59a8b5ecf 100644 --- a/time/test-tz.c +++ b/time/test-tz.c @@ -21,7 +21,7 @@ main(int argc, char ** argv) int errors = 0; struct tm tm; time_t t; - int i; + unsigned int i; memset (&tm, 0, sizeof (tm)); tm.tm_isdst = 0; @@ -39,7 +39,7 @@ main(int argc, char ** argv) t = mktime(&tm); if (t != tests[i].expected) { - printf ("%s: flunked test %d (expected %lu, got %lu)\n", + printf ("%s: flunked test %u (expected %lu, got %lu)\n", argv[0], i, (long) tests[i].expected, (long) t); ++errors; } diff --git a/time/time.h b/time/time.h index 2dc25ab0b9..de7214ac52 100644 --- a/time/time.h +++ b/time/time.h @@ -1,23 +1,23 @@ /* Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc. -This file is part of the GNU C Library. + This file is part of the GNU C Library. -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* - * ANSI Standard: 4.12 DATE and TIME <time.h> + * ISO C Standard: 4.12 DATE and TIME <time.h> */ #ifndef _TIME_H |