Browse Source

[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/10043
master
Glenn Strauss 2 months ago
parent
commit
a5581b0319
  1. 4
      src/fdlog.h

4
src/fdlog.h

@ -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…
Cancel
Save