Skip to content

Commit

Permalink
libbb: remove vdprintf
Browse files Browse the repository at this point in the history
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 <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
  • Loading branch information
rmyorston authored and Denys Vlasenko committed Jul 29, 2017
1 parent 69be994 commit 008fc94
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 27 deletions.
2 changes: 0 additions & 2 deletions TODO
Expand Up @@ -224,8 +224,6 @@ Minor stuff:
---
support start-stop-daemon -d <chdir-path>
---
vdprintf() -> similar sized functionality
---

(TODO list after discussion 11.05.2009)

Expand Down
3 changes: 0 additions & 3 deletions include/libbb.h
Expand Up @@ -167,9 +167,6 @@
/* Some libc's forget to declare these, do it ourself */

extern char **environ;
#if defined(__GLIBC__) && __GLIBC__ < 2
int vdprintf(int d, const char *format, va_list ap);
#endif
/* klogctl is in libc's klog.h, but we cheat and not #include that */
int klogctl(int type, char *b, int len);
#ifndef PATH_MAX
Expand Down
1 change: 0 additions & 1 deletion libbb/Kbuild.src
Expand Up @@ -97,7 +97,6 @@ lib-y += time.o
lib-y += trim.o
lib-y += u_signal_names.o
lib-y += uuencode.o
lib-y += vdprintf.o
lib-y += verror_msg.o
lib-y += vfork_daemon_rexec.o
lib-y += warn_ignoring_args.o
Expand Down
21 changes: 0 additions & 21 deletions libbb/vdprintf.c

This file was deleted.

0 comments on commit 008fc94

Please sign in to comment.