summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-18 22:32:45 +0000
committerDenis Vlasenko2006-12-18 22:32:45 +0000
commit7cfecc4b36c5bd6e1e85fe8851ebd90fe1edb8f4 (patch)
tree2d03681bc35891414026aa56eeed0fbc29530124 /libbb
parentc8e6e35ba4095846121d5b5a3eee57caa5e8e0fb (diff)
downloadbusybox-7cfecc4b36c5bd6e1e85fe8851ebd90fe1edb8f4.zip
busybox-7cfecc4b36c5bd6e1e85fe8851ebd90fe1edb8f4.tar.gz
xfuncs.c: dietlibc actually HAS fdprintf!
platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions
Diffstat (limited to 'libbb')
-rw-r--r--libbb/xfuncs.c4
1 files changed, 2 insertions, 2 deletions
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;