Added empty __printf_fp() to the build.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8345 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-07-07 12:54:48 +00:00
parent c3d35103c7
commit 3ed05ce147
2 changed files with 11 additions and 2 deletions
@@ -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
@@ -22,6 +22,9 @@
#define HAVE_ALLOCA 1
#include <stdio_private.h>
// ToDo: implement this function for real
#include <printf.h>
#if 0
#include <alloca.h>
#include <ctype.h>
#include <float.h>
@@ -33,7 +36,6 @@
#include <locale/localeinfo.h>
#include <limits.h>
#include <math.h>
#include <printf.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
@@ -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);
}