about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-10-22 20:44:23 +0200
committerLeah Neukirchen <leah@vuxu.org>2023-10-22 20:44:23 +0200
commit50877e1bf7c905044e0b50b227ecff48cfec394b (patch)
tree703f1782f48a79beb66d7e3f2df164489352a8d4
parenteda3727948d7f45ffbf9af3789fa10de19af1d4d (diff)
downloadoutils-50877e1bf7c905044e0b50b227ecff48cfec394b.tar.gz
outils-50877e1bf7c905044e0b50b227ecff48cfec394b.tar.xz
outils-50877e1bf7c905044e0b50b227ecff48cfec394b.zip
add prototypes for recallocarray and b64_ntop HEAD master
-rw-r--r--src/liboutils/outils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liboutils/outils.h b/src/liboutils/outils.h
index 7e9a7ec..463032a 100644
--- a/src/liboutils/outils.h
+++ b/src/liboutils/outils.h
@@ -1,5 +1,4 @@
 #define DEF_WEAK(x)
-
 #define __weak_alias(new, old) \
 	extern __typeof(old) new __attribute__((weak, alias(#old)))
 #define MAKE_CLONE(new, old) \
@@ -59,8 +58,9 @@ uint32_t arc4random_uniform(uint32_t);
 void arc4random_buf(void *, size_t);
 int timingsafe_bcmp(const void *, const void *, size_t);
 void *reallocarray(void *, size_t, size_t);
+void *recallocarray(void *, size_t, size_t, size_t);
 int pledge(const char *, const char **);
 void explicit_bzero(void *buf, size_t len);
 int getentropy(void *buf, size_t len);
 void freezero(void *ptr, size_t size);
-
+int b64_ntop(u_char const *, size_t, char *, size_t);