aboutsummaryrefslogtreecommitdiff
path: root/hurd/vpprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/vpprintf.c')
-rw-r--r--hurd/vpprintf.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/hurd/vpprintf.c b/hurd/vpprintf.c
index 8ec064a..fe52177 100644
--- a/hurd/vpprintf.c
+++ b/hurd/vpprintf.c
@@ -22,10 +22,9 @@
#include <hurd.h>
static ssize_t
-pwrite (cookie, buf, n)
- void *cookie;
- const char *buf;
- size_t n;
+pwrite (void *cookie,
+ const char *buf,
+ size_t n)
{
error_t error = __io_write ((io_t) cookie, buf, n, -1,
(mach_msg_type_number_t *) &n);
@@ -38,10 +37,9 @@ pwrite (cookie, buf, n)
/* Write formatted output to PORT, a Mach port supporting the i/o protocol,
according to the format string FORMAT, using the argument list in ARG. */
int
-vpprintf (port, format, arg)
- io_t port;
- const char *format;
- va_list arg;
+vpprintf (io_t port,
+ const char *format,
+ va_list arg)
{
int done;
FILE f;