[core] avoid repeated typedef for fdlog_st
x-ref: "Lighttpd 1.4.60 make error typedef fdlog_st redefinition" https://redmine.lighttpd.net/boards/3/topics/10043personal/stbuehler/tests-path
parent
a2bfccd1be
commit
a5581b0319
|
@ -5,12 +5,12 @@
|
|||
#include "base_decls.h"
|
||||
#include "buffer.h"
|
||||
|
||||
typedef struct fdlog_st {
|
||||
struct fdlog_st {
|
||||
enum { FDLOG_FILE, FDLOG_FD, FDLOG_SYSLOG, FDLOG_PIPE } mode;
|
||||
int fd;
|
||||
buffer b;
|
||||
const char *fn;
|
||||
} fdlog_st;
|
||||
};
|
||||
|
||||
__attribute_cold__
|
||||
__attribute_returns_nonnull__
|
||||
|
|
Loading…
Reference in New Issue