commit | 8de1df92a3d6413dcd4796c954dba8bf8589833b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Apr 15 21:27:18 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 15 21:55:48 2019 +0200 |
tree | aaf4e778fa69ab8889333508fc9ac1309d37ab68 | |
parent | 0e492e2ad01528f24859992e48b543e0a6b4b3e7 [diff] |
BUILD: do not specify "const" on functions returning structs or scalars Older compilers (like gcc-3.4) warn about the use of "const" on functions returning a struct, which makes sense since the return may only be copied : include/common/htx.h:233: warning: type qualifiers ignored on function return type Let's simply drop "const" here.