Commit 940a459c 940a459c17cdc1e6f62405c37e5876f8a5806020 by Sergey Poznyakoff

Forward declaration of struct timeval is needed for stream_wait().

1 parent d75b6363
...@@ -83,8 +83,11 @@ extern int stream_setbufsiz __P ((stream_t stream, size_t size)); ...@@ -83,8 +83,11 @@ extern int stream_setbufsiz __P ((stream_t stream, size_t size));
83 extern int stream_flush __P ((stream_t)); 83 extern int stream_flush __P ((stream_t));
84 84
85 #define MU_STREAM_READY_RD 0x1 85 #define MU_STREAM_READY_RD 0x1
86 #define MU_STREAM_READY_WR 0x2 86 #define MU_STREAM_READY_WR 0x2
87 extern int stream_wait __P((stream_t stream, int *pflags, struct timeval *)); 87 struct timeval; /* Needed for the following declaration */
88
89 extern int stream_wait __P((stream_t stream, int *pflags,
90 struct timeval *));
88 91
89 /* Functions useful to implementors of new stream types. */ 92 /* Functions useful to implementors of new stream types. */
90 93
......