From 3693ee3e722ac89fd4f01dbcf3ece7fc909b3799 Mon Sep 17 00:00:00 2001 From: vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> 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 git-svn-id: svn://busybox.net/trunk/busybox@16998 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- 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 4790aa140..9efccc542 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.2.3-55-g6feb