From 3ed05ce147824028bd8272fecee894622c1ae1f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 7 Jul 2004 12:54:48 +0000 Subject: [PATCH] Added empty __printf_fp() to the build. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8345 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/posix/glibc/stdio-common/Jamfile | 2 +- .../libroot/posix/glibc/stdio-common/printf_fp.c | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/kernel/libroot/posix/glibc/stdio-common/Jamfile b/src/kernel/libroot/posix/glibc/stdio-common/Jamfile index 4eb415a7bc..dc04eb9b2c 100644 --- a/src/kernel/libroot/posix/glibc/stdio-common/Jamfile +++ b/src/kernel/libroot/posix/glibc/stdio-common/Jamfile @@ -24,7 +24,7 @@ KernelMergeObject posix_gnu_stdio.o : #_common.o : <$(SOURCE_GRIST)>perror.c <$(SOURCE_GRIST)>printf-parse.c <$(SOURCE_GRIST)>printf.c -# <$(SOURCE_GRIST)>printf_fp.c + <$(SOURCE_GRIST)>printf_fp.c # <$(SOURCE_GRIST)>printf_size.c <$(SOURCE_GRIST)>putw.c <$(SOURCE_GRIST)>reg-printf.c diff --git a/src/kernel/libroot/posix/glibc/stdio-common/printf_fp.c b/src/kernel/libroot/posix/glibc/stdio-common/printf_fp.c index ea1934343e..116334d9af 100644 --- a/src/kernel/libroot/posix/glibc/stdio-common/printf_fp.c +++ b/src/kernel/libroot/posix/glibc/stdio-common/printf_fp.c @@ -22,6 +22,9 @@ #define HAVE_ALLOCA 1 #include +// ToDo: implement this function for real +#include +#if 0 #include #include #include @@ -33,7 +36,6 @@ #include #include #include -#include #include #include #include @@ -1228,3 +1230,10 @@ group_number (wchar_t *buf, wchar_t *bufend, unsigned int intdig_no, return bufend + ngroups; } +#endif + +int +__printf_fp(FILE *fp, const struct printf_info *info, const void * const *args) +{ + return fputs("NaN-FIXME", fp); +}