diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-10-12 11:12:34 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-10-12 11:12:34 -0400 |
commit | a5581b0319860d6f49ebd3143b70fedb4f6db6fa (patch) | |
tree | 56b578c5ac3d71aee458d409abb93bdbb2bff9a9 /src/fdlog.h | |
parent | a2bfccd1be46012916047eca39233a370fbda5cf (diff) | |
download | lighttpd-git-a5581b0319860d6f49ebd3143b70fedb4f6db6fa.tar.gz |
[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
Diffstat (limited to 'src/fdlog.h')
-rw-r--r-- | src/fdlog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fdlog.h b/src/fdlog.h index d1797402..cd739d2f 100644 --- a/src/fdlog.h +++ b/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__ |