diff options
Diffstat (limited to 'src/shared.h')
| -rw-r--r-- | src/shared.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shared.h b/src/shared.h index fef19ca..b10462e 100644 --- a/src/shared.h +++ b/src/shared.h | |||
| @@ -15,10 +15,4 @@ 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___` |
| 16 | void* xreallocarray(void *ptr, size_t nmemb, size_t size); | 16 | void* xreallocarray(void *ptr, size_t nmemb, size_t size); |
| 17 | 17 | ||
| 18 | // `vsprintf()`, but reallocates enough room for the resulting string before writing to `str` | ||
| 19 | int vsaprintf(char **str, const char *format, va_list ap); | ||
| 20 | |||
| 21 | // `sprintf()`, but reallocates enough room for the resulting string before writing to `str` | ||
| 22 | int saprintf(char **str, const char *format, ...); | ||
| 23 | |||
| 24 | #endif \ No newline at end of file | 18 | #endif \ No newline at end of file |
