mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #913 from heinrich5991/pr_ddnet_fix_warning
Fix `-Wtypedef-redefinition` for `struct ASYNCIO`
This commit is contained in:
commit
4afe702985
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue