-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruno Haible on 12/24/2009 11:20 AM: > Eric Blake wrote: >> I'm pushing this. > > I get this gcc warning, on Linux/glibc: > > test-nanosleep.c:24: warning: 'struct timepec' declared inside parameter list > test-nanosleep.c:24: warning: its scope is only this definition or > declaration, which is probably not what you want > test-nanosleep.c:24: warning: initialization from incompatible pointer type
That's a typo on my part. Fixed as follows: - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkszunQACgkQ84KuGfSFAYCd+ACfQWgViCaSeMJ6K+Ux5G8JIbaO 620AnjQ58OitJ4DxscgSVJ6v7nhPTiWj =x9T5 -----END PGP SIGNATURE-----
From 8ce83bb6c75b5bcc656da5fb94d5d84e066b231f Mon Sep 17 00:00:00 2001 From: Eric Blake <e...@byu.net> Date: Thu, 24 Dec 2009 12:00:23 -0700 Subject: [PATCH] test-nanosleep: fix typo * tests/test-nanosleep.c (SIGNATURE_CHECK): Fix typo in previous patch. Reported by Bruno Haible. Signed-off-by: Eric Blake <e...@byu.net> --- ChangeLog | 5 +++++ tests/test-nanosleep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index ae8338e..a3baf7c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-12-24 Eric Blake <e...@byu.net> + test-nanosleep: fix typo + * tests/test-nanosleep.c (SIGNATURE_CHECK): Fix typo in previous + patch. + Reported by Bruno Haible. + link-warning: make usage consistent * modules/ctype (Depends-on): Add link-warning. (Makefile.am): Update rules accordingly. diff --git a/tests/test-nanosleep.c b/tests/test-nanosleep.c index e4e7231..797c8be 100644 --- a/tests/test-nanosleep.c +++ b/tests/test-nanosleep.c @@ -21,7 +21,7 @@ #include <time.h> #include "signature.h" -SIGNATURE_CHECK (nanosleep, int, (struct timespec const *, struct timepec *)); +SIGNATURE_CHECK (nanosleep, int, (struct timespec const *, struct timespec *)); #include <errno.h> #include <signal.h> -- 1.6.4.2