summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2006-04-01 19:06:54 +0000
committerphk <phk@FreeBSD.org>2006-04-01 19:06:54 +0000
commita6edaf1c5c5a75d8ff61e82e0a7a94d9066aa556 (patch)
tree414dd43b4bfb97d3d754134156d9b721f643e6f5 /lib/libc/stdio/vfprintf.c
parent01ed5990aef062b97e91680895804b9689c8076b (diff)
downloadFreeBSD-src-a6edaf1c5c5a75d8ff61e82e0a7a94d9066aa556.zip
FreeBSD-src-a6edaf1c5c5a75d8ff61e82e0a7a94d9066aa556.tar.gz
Add missing #if's for NO_FLOATING_POINT
Diffstat (limited to 'lib/libc/stdio/vfprintf.c')
-rw-r--r--lib/libc/stdio/vfprintf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 34e6bf0..df4bac2 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -1557,14 +1557,16 @@ done:
case TP_INTMAXT:
(*argtable) [n].pintmaxarg = va_arg (ap, intmax_t *);
break;
-#ifndef NO_FLOATING_POINT
case T_DOUBLE:
+#ifndef NO_FLOATING_POINT
(*argtable) [n].doublearg = va_arg (ap, double);
+#endif
break;
case T_LONG_DOUBLE:
+#ifndef NO_FLOATING_POINT
(*argtable) [n].longdoublearg = va_arg (ap, long double);
- break;
#endif
+ break;
case TP_CHAR:
(*argtable) [n].pchararg = va_arg (ap, char *);
break;
OpenPOWER on IntegriCloud