Merge pull request #913 from heinrich5991/pr_ddnet_fix_warning

Fix `-Wtypedef-redefinition` for `struct ASYNCIO`
This commit is contained in:
Dennis Felsing 2017-10-20 14:12:49 +02:00 committed by GitHub
commit 4afe702985

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
{