From 8560129c4473864c7b0f1f125c3530379ae7cc06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Thu, 14 Feb 2002 11:47:47 +0100 Subject: [PATCH] (progress): Declare the ctx argument as UNUSED. Rev: src/nettle/testsuite/rsa-keygen-test.c:1.2 --- testsuite/rsa-keygen-test.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); } -- GitLab