summaryrefslogtreecommitdiff
path: root/include/printf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/printf.h')
-rw-r--r--include/printf.h2
1 files changed, 2 insertions, 0 deletions
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