summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 12:59:50 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 12:59:50 +0100
commit385b3e77dfa1b6bbaee5d0ec9da9bcbd69e91b70 (patch)
tree61550b547a56179e6abac9bee3502ecc5c537fa8 /src/util
parent325aaddbd6612c3baa56d01f6777faf77d082588 (diff)
downloadexchange-385b3e77dfa1b6bbaee5d0ec9da9bcbd69e91b70.tar.gz
exchange-385b3e77dfa1b6bbaee5d0ec9da9bcbd69e91b70.tar.bz2
exchange-385b3e77dfa1b6bbaee5d0ec9da9bcbd69e91b70.zip
tighten formatting rules
Diffstat (limited to 'src/util')
-rw-r--r--src/util/crypto.c3
-rw-r--r--src/util/test_amount.c1
-rw-r--r--src/util/test_crypto.c1
-rw-r--r--src/util/test_url.c1
-rw-r--r--src/util/util.c5
5 files changed, 7 insertions, 4 deletions
diff --git a/src/util/crypto.c b/src/util/crypto.c
index b21397914..077f049eb 100644
--- a/src/util/crypto.c
+++ b/src/util/crypto.c
@@ -213,8 +213,7 @@ patch_private_key (struct GNUNET_CRYPTO_EddsaPrivateKey *pk)
* Is it worth also adding a test case that runs gcry_pk_testkey on
* this key after first parsing it into libgcrypt's s-expression mess
* ala decode_private_eddsa_key from gnunet/src/util/crypto_ecc.c?
- * It'd run check_secret_key but not test_keys from libgcrypt/cipher/ecc.c */
-}
+ * It'd run check_secret_key but not test_keys from libgcrypt/cipher/ecc.c */}
/**
diff --git a/src/util/test_amount.c b/src/util/test_amount.c
index a8b37823c..d9110eaf8 100644
--- a/src/util/test_amount.c
+++ b/src/util/test_amount.c
@@ -238,4 +238,5 @@ main (int argc,
return 0;
}
+
/* end of test_amount.c */
diff --git a/src/util/test_crypto.c b/src/util/test_crypto.c
index c3c7b957c..e19a5f5e8 100644
--- a/src/util/test_crypto.c
+++ b/src/util/test_crypto.c
@@ -134,4 +134,5 @@ main (int argc,
return 0;
}
+
/* end of test_crypto.c */
diff --git a/src/util/test_url.c b/src/util/test_url.c
index da43f81ac..5fc47137c 100644
--- a/src/util/test_url.c
+++ b/src/util/test_url.c
@@ -84,4 +84,5 @@ main (int argc,
return 0;
}
+
/* end of test_url.c */
diff --git a/src/util/util.c b/src/util/util.c
index 3cc494fad..42977a16c 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -93,8 +93,6 @@ TALER_config_get_denom (const struct GNUNET_CONFIGURATION_Handle *cfg,
}
-
-
/**
* Set an option with an amount from the command line. A pointer to
* this function should be passed as part of the 'struct
@@ -193,6 +191,7 @@ is_reserved (char c)
return GNUNET_YES;
}
+
/**
* Get the length of a string after it has been
* urlencoded.
@@ -210,6 +209,7 @@ urlencode_len (const char *s)
return len;
}
+
/**
* URL-encode a string according to rfc3986.
*
@@ -748,4 +748,5 @@ TALER_buffer_write_vfstr (struct TALER_Buffer *buf,
GNUNET_assert (buf->position <= buf->capacity);
}
+
/* end of util.c */