Browse Source
quiet compiler warning for -Wtypedef-redefinition (redefinition of typedef is a C11 feature)personal/stbuehler/mod-csrf
6 changed files with 29 additions and 25 deletions
@ -0,0 +1,18 @@
|
||||
#ifndef INCLUDED_BASE_DECLS_H |
||||
#define INCLUDED_BASE_DECLS_H |
||||
|
||||
#include "first.h" |
||||
|
||||
#include <sys/types.h> |
||||
|
||||
struct server; |
||||
typedef struct server server; |
||||
|
||||
struct connection; |
||||
typedef struct connection connection; |
||||
|
||||
union sock_addr; |
||||
typedef union sock_addr sock_addr; |
||||
|
||||
|
||||
#endif |
Loading…
Reference in new issue