X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-gettimeofday.c;h=4a9d2640a741886efb47b891e39af351fecc8bea;hb=dd91a295844a6e89ce67087164ea0f2e979b4b70;hp=3b858791a42173d4caa8df909bce503e1dfa4589;hpb=82381b9e5b37125305709d412d8322b35e5c4796;p=gnulib.git diff --git a/tests/test-gettimeofday.c b/tests/test-gettimeofday.c index 3b858791a..4a9d2640a 100644 --- a/tests/test-gettimeofday.c +++ b/tests/test-gettimeofday.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005, 2007, 2009 Free Software Foundation + * Copyright (C) 2005, 2007, 2009-2012 Free Software Foundation, Inc. * Written by Jim Meyering. * * This program is free software: you can redistribute it and/or modify @@ -18,6 +18,11 @@ #include #include + +#include "signature.h" +SIGNATURE_CHECK (gettimeofday, int, + (struct timeval *, GETTIMEOFDAY_TIMEZONE *)); + #include #include @@ -38,8 +43,5 @@ main (void) fprintf (stderr, "gettimeofday still clobbers the localtime buffer!\n"); return 1; } - else - { - return 0; - } + return 0; }