mirror of
https://github.com/fluencelabs/musl
synced 2025-06-18 17:31:38 +00:00
cleanup asprintf stuff
This commit is contained in:
@ -1,8 +1,7 @@
|
|||||||
|
#define _GNU_SOURCE
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
int vasprintf(char **, const char *, va_list);
|
|
||||||
|
|
||||||
int asprintf(char **s, const char *fmt, ...)
|
int asprintf(char **s, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#define _GNU_SOURCE
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Reference in New Issue
Block a user