summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-13 22:37:49 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-13 22:37:49 +0000
commit22eceb9a835a3e8222bcd3679819eb33f81dc7b4 (patch)
tree00edaba4817730b576203ffe34f1e42759840ce6 /include
parenta2b9934702b2c6a06bdc02c45b0734e70abfcb32 (diff)
guard *printf_function w/ UCLIBC_HAS_GLIBC_CUSTOM_PRINTF
Diffstat (limited to 'include')
-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