summaryrefslogtreecommitdiff
path: root/src/shared.h
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-01-11 19:39:53 -0600
committer@syxhe <https://t.me/syxhe>2025-01-11 19:39:53 -0600
commit0c19d693bfe1dd3071c71d9d95f68c0db5cc75d0 (patch)
treeb6dc25ba074b5d4bd9e4dd5babc6ae8ea56169df /src/shared.h
parentd8e03b1a1d929f6afeac72d475183d0218656b48 (diff)
Fix genpassword function, delete buggy (v)asprintf implementation(s)
Diffstat (limited to 'src/shared.h')
-rw-r--r--src/shared.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/shared.h b/src/shared.h
index 5894b41..620ec82 100644
--- a/src/shared.h
+++ b/src/shared.h
@@ -17,9 +17,4 @@ void* xcalloc(size_t nmemb, size_t size);
17// `reallocarray()` with error checking. Calls `error()` or `abort()` on error, depending on the value of `___VXGG___XALLOC_EXIT_ON_ERROR___` 17// `reallocarray()` with error checking. Calls `error()` or `abort()` on error, depending on the value of `___VXGG___XALLOC_EXIT_ON_ERROR___`
18void* xreallocarray(void *ptr, size_t nmemb, size_t size); 18void* xreallocarray(void *ptr, size_t nmemb, size_t size);
19 19
20#if !defined _GNU_SOURCE
21int vasprintf(char **str, const char *format, va_list ap);
22int asprintf(char **str, const char *format, ...);
23#endif
24
25#endif \ No newline at end of file 20#endif \ No newline at end of file