summaryrefslogtreecommitdiff
path: root/libio/outfloat.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-16 16:01:55 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-16 16:01:55 +0000
commita6bb47e073377fa203132a3ae20f76103a8049b7 (patch)
tree6f133200943f818cad1e94da16393eadfe8dd250 /libio/outfloat.c
parentdb3b49b1fef1f3ba83eeb6537963bd7884e89602 (diff)
downloadgcc-a6bb47e073377fa203132a3ae20f76103a8049b7.tar.gz
Uli's libio/libstdc++ patches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15486 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libio/outfloat.c')
-rw-r--r--libio/outfloat.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/libio/outfloat.c b/libio/outfloat.c
index a74b1a2c3e1..5cbb6c92598 100644
--- a/libio/outfloat.c
+++ b/libio/outfloat.c
@@ -24,6 +24,7 @@ the executable file might be covered by the GNU General Public License. */
#include "libioP.h"
+#ifdef _IO_USE_DTOA
/* Format floating-point number and print them.
Return number of chars printed, or EOF on error.
@@ -33,10 +34,15 @@ the executable file might be covered by the GNU General Public License. */
*/
int
-DEFUN(_IO_outfloat, (value, sb, type, width, precision, flags,
- sign_mode, fill),
- double value AND _IO_FILE *sb AND int type AND int width
- AND int precision AND int flags AND int sign_mode AND int fill)
+_IO_outfloat (value, sb, type, width, precision, flags, sign_mode, fill)
+ double value;
+ _IO_FILE *sb;
+ int type;
+ int width;
+ int precision;
+ int flags;
+ int sign_mode;
+ int fill;
{
int count = 0;
#define PUT(x) do {if (_IO_putc(x, sb) < 0) goto error; count++;} while (0)
@@ -202,3 +208,4 @@ DEFUN(_IO_outfloat, (value, sb, type, width, precision, flags,
error:
return EOF;
}
+#endif