Forward declaration of struct timeval is needed for stream_wait().
Showing
1 changed file
with
5 additions
and
2 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment