aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/Makefile.in2
-rw-r--r--libbb/printf.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/libbb/Makefile.in b/libbb/Makefile.in
index 4d3fd71b1..06daf232c 100644
--- a/libbb/Makefile.in
+++ b/libbb/Makefile.in
@@ -67,7 +67,7 @@ LIBBB_MOBJ1:=xmalloc.o xrealloc.o xcalloc.o xstrdup.o xstrndup.o \
xferror.o xferror_stdout.o xfflush_stdout.o strlen.o
LIBBB_MSRC2:=$(LIBBB_DIR)printf.c
-LIBBB_MOBJ2:=vfprintf.o vprintf.o fprintf.o printf.o
+LIBBB_MOBJ2:=bb_vfprintf.o bb_vprintf.o bb_fprintf.o bb_printf.o
LIBBB_MSRC3:=$(LIBBB_DIR)xgetularg.c
LIBBB_MOBJ3:=xgetularg_bnd_sfx.o xgetlarg_bnd_sfx.o getlarg10_sfx.o \
diff --git a/libbb/printf.c b/libbb/printf.c
index 686257699..923c5a1a4 100644
--- a/libbb/printf.c
+++ b/libbb/printf.c
@@ -125,7 +125,7 @@
#error Your stdio library is currently not supported. Please see the commented source.
#endif
-#ifdef L_vfprintf
+#ifdef L_bb_vfprintf
extern int bb_vfprintf(FILE * __restrict stream,
const char * __restrict format,
va_list arg)
@@ -140,14 +140,14 @@ extern int bb_vfprintf(FILE * __restrict stream,
}
#endif
-#ifdef L_vprintf
+#ifdef L_bb_vprintf
extern int bb_vprintf(const char * __restrict format, va_list arg)
{
return bb_vfprintf(stdout, format, arg);
}
#endif
-#ifdef L_fprintf
+#ifdef L_bb_fprintf
extern int bb_fprintf(FILE * __restrict stream,
const char * __restrict format, ...)
{
@@ -162,7 +162,7 @@ extern int bb_fprintf(FILE * __restrict stream,
}
#endif
-#ifdef L_printf
+#ifdef L_bb_printf
extern int bb_printf(const char * __restrict format, ...)
{
va_list arg;