(sysdep_stdin_init) [_WIN32]: Add missing void for the parameter list.

This commit is contained in:
Ron Koenderink 2007-12-16 04:02:16 +00:00
parent e2f795044f
commit 97de159045

View file

@ -158,7 +158,7 @@ stdin_read_thread(LPVOID lpParam)
* Initialize and start the stdin reading thread for WIN32 * Initialize and start the stdin reading thread for WIN32
*/ */
static void static void
sysdep_stdin_init() sysdep_stdin_init(void)
{ {
bounce_empty = CreateEvent(NULL, FALSE, TRUE, "bounce_empty"); bounce_empty = CreateEvent(NULL, FALSE, TRUE, "bounce_empty");
bounce_full = CreateEvent(NULL, TRUE, FALSE, "bounce_full"); bounce_full = CreateEvent(NULL, TRUE, FALSE, "bounce_full");
@ -283,6 +283,7 @@ w32_ring_from_file_or_bounce_buf(struct ring *r, int fd)
w32_recv((sock), (buffer), (buf_size), 0) w32_recv((sock), (buffer), (buf_size), 0)
#define select(nfds, rd, wr, error, time) \ #define select(nfds, rd, wr, error, time) \
w32_select((nfds), (rd), (wr), (error), (time)) w32_select((nfds), (rd), (wr), (error), (time))
#define sigemptyset(mask) ((void)0)
#else #else
#define sysdep_stdin_init() ((void)0) #define sysdep_stdin_init() ((void)0)
#endif #endif