Skip to content

Commit 008fc94

Browse files
rmyorstonDenys Vlasenko
authored and
Denys Vlasenko
committed
libbb: remove vdprintf
Two reasons: * it's only built for GNU C Library versions < 2 (released 1997) * it isn't used anywhere in BusyBox Signed-off-by: Ron Yorston <[email protected]> Signed-off-by: Denys Vlasenko <[email protected]>
1 parent 69be994 commit 008fc94

File tree

4 files changed

+0
-27
lines changed

4 files changed

+0
-27
lines changed

TODO

-2
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,6 @@ Minor stuff:
224224
---
225225
support start-stop-daemon -d <chdir-path>
226226
---
227-
vdprintf() -> similar sized functionality
228-
---
229227

230228
(TODO list after discussion 11.05.2009)
231229

include/libbb.h

-3
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@
167167
/* Some libc's forget to declare these, do it ourself */
168168

169169
extern char **environ;
170-
#if defined(__GLIBC__) && __GLIBC__ < 2
171-
int vdprintf(int d, const char *format, va_list ap);
172-
#endif
173170
/* klogctl is in libc's klog.h, but we cheat and not #include that */
174171
int klogctl(int type, char *b, int len);
175172
#ifndef PATH_MAX

libbb/Kbuild.src

-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ lib-y += time.o
9797
lib-y += trim.o
9898
lib-y += u_signal_names.o
9999
lib-y += uuencode.o
100-
lib-y += vdprintf.o
101100
lib-y += verror_msg.o
102101
lib-y += vfork_daemon_rexec.o
103102
lib-y += warn_ignoring_args.o

libbb/vdprintf.c

-21
This file was deleted.

0 commit comments

Comments
 (0)