aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-05-10 00:02:52 +0200
committerChristian Grothoff <christian@grothoff.org>2023-05-10 00:02:52 +0200
commit1cf58e8ff8efc82f0e8bf1a058047d48b86e060e (patch)
treeb3c7e4e32d5dd045c5696b34f6e9cd319f6f291a
parent4e79967f9ba980b64e89a453efbb9ed4bfa4cc37 (diff)
downloadexchange-1cf58e8ff8efc82f0e8bf1a058047d48b86e060e.tar.xz
-fix warning
-rw-r--r--src/include/taler_util.h10
-rw-r--r--src/util/util.c6
2 files changed, 10 insertions, 6 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h
index 8192ed87c..6c2948221 100644
--- a/src/include/taler_util.h
+++ b/src/include/taler_util.h
@@ -230,6 +230,16 @@ TALER_OS_init (void);
/**
+ * Re-encode string at @a inp to match RFC 8785 (section 3.2.2.2).
+ *
+ * @param[in,out] inp pointer to string to re-encode
+ * @return number of bytes in resulting @a inp
+ */
+size_t
+TALER_rfc8785encode (char **inp);
+
+
+/**
* URL-encode a string according to rfc3986.
*
* @param s string to encode
diff --git a/src/util/util.c b/src/util/util.c
index 7cd4b0c35..82c5f7f39 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -258,12 +258,6 @@ lowdump (struct GNUNET_Buffer *buf,
}
-/**
- * Re-encode string at @a inp to match RFC 8785 (section 3.2.2.2).
- *
- * @param[in,out] inp pointer to string to re-encode
- * @return number of bytes in resulting @a inp
- */
size_t
TALER_rfc8785encode (char **inp)
{