From: Niels Möller Date: Thu, 14 Feb 2002 10:47:47 +0000 (+0100) Subject: (progress): Declare the ctx argument X-Git-Tag: nettle_1.6_release_20021003~321 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8560129c4473864c7b0f1f125c3530379ae7cc06;p=thirdparty%2Fnettle.git (progress): Declare the ctx argument as UNUSED. Rev: src/nettle/testsuite/rsa-keygen-test.c:1.2 --- diff --git a/testsuite/rsa-keygen-test.c b/testsuite/rsa-keygen-test.c index 6a3e6871..eff094f7 100644 --- a/testsuite/rsa-keygen-test.c +++ b/testsuite/rsa-keygen-test.c @@ -2,8 +2,14 @@ #include "knuth-lfib.h" +#if __GNUC__ +# define UNUSED __attribute__ ((__unused__)) +#else +# define UNUSED +#endif + static void -progress(void *ctx, int c) +progress(void *ctx UNUSED, int c) { fputc(c, stderr); }