diff options
Diffstat (limited to 'src/stdio/vasprintf.c')
-rw-r--r-- | src/stdio/vasprintf.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/vasprintf.c b/src/stdio/vasprintf.c index 08251bc2..07eec655 100644 --- a/src/stdio/vasprintf.c +++ b/src/stdio/vasprintf.c @@ -13,3 +13,11 @@ int vasprintf(char **s, const char *fmt, va_list ap) if (l<0 || !(*s=malloc(l+1U))) return -1; return vsnprintf(*s, l+1U, fmt, ap); } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif |