aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-27 17:28:33 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-27 17:32:39 +0100
commit17cfbced1dff07ee058997e88e027e7fd4627445 (patch)
treef94a9255869eb1d1f1cf57f37eebbc143994af19 /src/util
parent1647237c2e54ad14dc2549def5b394f766cd92cd (diff)
fix inconsistency in field naming
Diffstat (limited to 'src/util')
-rw-r--r--src/util/test_amount.c2
-rw-r--r--src/util/test_crypto.c6
-rw-r--r--src/util/test_payto.c2
-rw-r--r--src/util/test_url.c2
4 files changed, 10 insertions, 2 deletions
diff --git a/src/util/test_amount.c b/src/util/test_amount.c
index 7bb47caf8..03f15cb88 100644
--- a/src/util/test_amount.c
+++ b/src/util/test_amount.c
@@ -34,6 +34,8 @@ main (int argc,
struct TALER_Amount r;
char *c;
+ (void) argc;
+ (void) argv;
GNUNET_log_setup ("test-amout",
"WARNING",
NULL);
diff --git a/src/util/test_crypto.c b/src/util/test_crypto.c
index 1fce0cd3c..de10e567d 100644
--- a/src/util/test_crypto.c
+++ b/src/util/test_crypto.c
@@ -30,7 +30,7 @@
* @return 0 on success
*/
static int
-test_high_level ()
+test_high_level (void)
{
struct GNUNET_CRYPTO_EddsaPrivateKey *pk;
struct TALER_CoinSpendPrivateKeyP coin_priv;
@@ -88,7 +88,7 @@ test_high_level ()
* @return 0 on success
*/
static int
-test_planchets ()
+test_planchets (void)
{
struct TALER_PlanchetSecretsP ps;
struct TALER_DenominationPrivateKey dk_priv;
@@ -127,6 +127,8 @@ int
main (int argc,
const char *const argv[])
{
+ (void) argc;
+ (void) argv;
if (0 != test_high_level ())
return 1;
if (0 != test_planchets ())
diff --git a/src/util/test_payto.c b/src/util/test_payto.c
index b7d73f80a..7dc2eb142 100644
--- a/src/util/test_payto.c
+++ b/src/util/test_payto.c
@@ -39,6 +39,8 @@ main (int argc,
{
char *r;
+ (void) argc;
+ (void) argv;
GNUNET_log_setup ("test-payto",
"WARNING",
NULL);
diff --git a/src/util/test_url.c b/src/util/test_url.c
index 4be1e7307..029302993 100644
--- a/src/util/test_url.c
+++ b/src/util/test_url.c
@@ -45,6 +45,8 @@ int
main (int argc,
const char *const argv[])
{
+ (void) argc;
+ (void) argv;
cf (TALER_urlencode (""), "");
cf (TALER_urlencode ("abc"), "abc");
cf (TALER_urlencode ("~~"), "~~");