summaryrefslogtreecommitdiff
path: root/libio/iovfprintf.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/iovfprintf.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/iovfprintf.c')
-rw-r--r--libio/iovfprintf.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/libio/iovfprintf.c b/libio/iovfprintf.c
index c41cbbf8abc..755334c2bf2 100644
--- a/libio/iovfprintf.c
+++ b/libio/iovfprintf.c
@@ -84,8 +84,9 @@ struct helper_file
};
static int
-DEFUN(_IO_helper_overflow, (fp, c),
- _IO_FILE *fp AND int c)
+_IO_helper_overflow (fp, c)
+ _IO_FILE *fp;
+ int c;
{
_IO_FILE *target = ((struct helper_file*)fp)->_put_stream;
int used = fp->_IO_write_ptr - fp->_IO_write_base;
@@ -119,8 +120,10 @@ static struct _IO_jump_t _IO_helper_jumps = {
};
static int
-DEFUN(helper_vfprintf, (fp, fmt0, ap),
- register _IO_FILE* fp AND char const *fmt0 AND _IO_va_list ap)
+helper_vfprintf (fp, fmt0, ap)
+ _IO_FILE *fp;
+ char const *fmt0;
+ _IO_va_list ap;
{
char buf[_IO_BUFSIZ];
struct helper_file helper;
@@ -180,8 +183,10 @@ extern double modf __P((double, double*));
#define HEXPREFIX 0x40 /* add 0x or 0X prefix */
int
-DEFUN(_IO_vfprintf, (fp, fmt0, ap),
- register _IO_FILE* fp AND char const *fmt0 AND _IO_va_list ap)
+_IO_vfprintf (fp, fmt0, ap)
+ _IO_FILE *fp;
+ char const *fmt0;
+ _IO_va_list ap;
{
register const char *fmt; /* format string */
register int ch; /* character from fmt */