Fix -Wtypedef-redefinition for struct ASYNCIO

Fixes #912.
This commit is contained in:
heinrich5991 2017-10-20 11:24:45 +02:00
parent a9f072d4a6
commit c654d82fd2

View file

@ -448,7 +448,7 @@ int io_flush(IOHANDLE io)
#define ASYNC_BUFSIZE 8 * 1024
typedef struct ASYNCIO
struct ASYNCIO
{
LOCK lock;
IOHANDLE io;
@ -465,7 +465,7 @@ typedef struct ASYNCIO
int error;
unsigned char finish;
unsigned char refcount;
} ASYNCIO;
};
enum
{