summaryrefslogtreecommitdiff
path: root/src/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared.h')
-rw-r--r--src/shared.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared.h b/src/shared.h
index b10462e..684fb9f 100644
--- a/src/shared.h
+++ b/src/shared.h
@@ -15,4 +15,9 @@ void* xcalloc(size_t nmemb, size_t size);
15// `reallocarray()` with error checking. Calls `error()` or `abort()` on error, depending on the value of `___VXGG___XCALLOC_EXIT_ON_ERROR___` 15// `reallocarray()` with error checking. Calls `error()` or `abort()` on error, depending on the value of `___VXGG___XCALLOC_EXIT_ON_ERROR___`
16void* xreallocarray(void *ptr, size_t nmemb, size_t size); 16void* xreallocarray(void *ptr, size_t nmemb, size_t size);
17 17
18#if !defined _GNU_SOURCE
19int vasprintf(char **str, const char *format, va_list ap);
20int asprintf(char **str, const char *format, ...);
21#endif
22
18#endif \ No newline at end of file 23#endif \ No newline at end of file