From 7cfecc4b36c5bd6e1e85fe8851ebd90fe1edb8f4 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 18 Dec 2006 22:32:45 +0000 Subject: xfuncs.c: dietlibc actually HAS fdprintf! platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions --- libbb/xfuncs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb') diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 4790aa1..9efccc5 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -411,8 +411,8 @@ char *xasprintf(const char *format, ...) return string_ptr; } -#ifdef __dietlibc__ -int dprintf(int fd, const char *format, ...) +#if 0 /* If we will ever meet a libc which hasn't [f]dprintf... */ +int fdprintf(int fd, const char *format, ...) { va_list p; int r; -- cgit v1.1