easprintf() and evasprintf()

This commit is contained in:
Arun Thomas 2010-08-21 13:07:25 +00:00
parent 292f98dc29
commit 60a71efca8
2 changed files with 0 additions and 4 deletions

View file

@ -129,13 +129,11 @@ void *emalloc(size_t);
void *erealloc(void *, size_t);
FILE *efopen(const char *, const char *);
#ifndef __minix
int easprintf(char ** __restrict, const char * __restrict, ...)
__attribute__((__format__(__printf__, 2, 3)));
int evasprintf(char ** __restrict, const char * __restrict,
_BSD_VA_LIST_)
__attribute__((__format__(__printf__, 2, 0)));
#endif
__END_DECLS
#endif /* !_UTIL_H_ */

View file

@ -139,7 +139,6 @@ efopen(const char *p, const char *m)
return fp;
}
#ifndef _MINIX
int
easprintf(char ** __restrict ret, const char * __restrict format, ...)
{
@ -160,4 +159,3 @@ evasprintf(char ** __restrict ret, const char * __restrict format, va_list ap)
(*efunc)(1, "Cannot format string");
return rv;
}
#endif