From 22eceb9a835a3e8222bcd3679819eb33f81dc7b4 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 13 Feb 2006 22:37:49 +0000 Subject: guard *printf_function w/ UCLIBC_HAS_GLIBC_CUSTOM_PRINTF --- include/printf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/printf.h') diff --git a/include/printf.h b/include/printf.h index 340b6cb9c..569397cd2 100644 --- a/include/printf.h +++ b/include/printf.h @@ -154,6 +154,7 @@ struct printf_info The function should return the number of characters written, or -1 for errors. */ +#ifdef __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__ typedef int (*printf_function) (FILE *__stream, __const struct printf_info *__info, __const void *__const *__args); @@ -172,6 +173,7 @@ typedef int printf_arginfo_function (__const struct printf_info *__info, extern int register_printf_function (int __spec, printf_function __func, printf_arginfo_function __arginfo); +#endif /* Parse FMT, and fill in N elements of ARGTYPES with the -- cgit v1.2.3