cleanup asprintf stuff

This commit is contained in:
Rich Felker 2011-02-20 17:19:37 -05:00
parent 46b99426e1
commit 3075f7e847
2 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,7 @@
#define _GNU_SOURCE
#include <stdio.h>
#include <stdarg.h>
int vasprintf(char **, const char *, va_list);
int asprintf(char **s, const char *fmt, ...)
{
int ret;

View File

@ -1,3 +1,4 @@
#define _GNU_SOURCE
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>