aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--libio/libioP.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index acf9b74ef2..941aae6e08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1999-06-18 Ulrich Drepper <drepper@cygnus.com>
+ * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
+ definitions.
+
* sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
assignment to avoid warning on 64bit platforms.
diff --git a/libio/libioP.h b/libio/libioP.h
index 6ed79b7169..775f44588c 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -657,11 +657,11 @@ extern int _IO_vscanf __P ((const char *, _IO_va_list));
# endif
#else
# ifdef _IO_USE_OLD_IO_FILE
-# define FILEBUF_LITERAL(CHAIN, FLAGS, FD) \
+# define FILEBUF_LITERAL(CHAIN, FLAGS, FD, WDP) \
{ _IO_MAGIC+_IO_LINKED+_IO_IS_FILEBUF+FLAGS, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, CHAIN, FD, 0, _IO_pos_BAD }
# else
-# define FILEBUF_LITERAL(CHAIN, FLAGS, FD) \
+# define FILEBUF_LITERAL(CHAIN, FLAGS, FD, WDP) \
{ _IO_MAGIC+_IO_LINKED+_IO_IS_FILEBUF+FLAGS, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, CHAIN, FD, \
0, _IO_pos_BAD, 0, 0, { 0 }, 0, _IO_pos_BAD, \