X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-gettimeofday.c;h=7d09fc3ad0f94080bca4ce17b9082cc4b2c4f5f7;hb=cda784e7600c26148888f21fc1300d041b5404bd;hp=2a07814bb94326624f82ba317639145917d7dcb5;hpb=fb4a9aa847c5e660adda65e9e2b9752aabfeeaf3;p=gnulib.git diff --git a/tests/test-gettimeofday.c b/tests/test-gettimeofday.c index 2a07814bb..7d09fc3ad 100644 --- a/tests/test-gettimeofday.c +++ b/tests/test-gettimeofday.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005, 2007, 2009, 2010 Free Software Foundation, Inc. + * Copyright (C) 2005, 2007, 2009-2011 Free Software Foundation, Inc. * Written by Jim Meyering. * * This program is free software: you can redistribute it and/or modify @@ -20,7 +20,8 @@ #include #include "signature.h" -SIGNATURE_CHECK (gettimeofday, int, (struct timeval *, void *)); +SIGNATURE_CHECK (gettimeofday, int, + (struct timeval *, GETTIMEOFDAY_TIMEZONE *)); #include @@ -42,8 +43,5 @@ main (void) fprintf (stderr, "gettimeofday still clobbers the localtime buffer!\n"); return 1; } - else - { - return 0; - } + return 0; }