commit | f4128a9981de0b0fd5f5cea9e58942245eeef332 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <thierry.fournier@ozon.io> | Sun Apr 09 05:41:27 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Apr 27 11:50:07 2017 +0200 |
tree | a6469abec3b68b680535da0a7b505b798ab82c38 | |
parent | 18330ab17fb36a3eb8292c8c128751e0d230ec27 [diff] |
BUG/MINOR: change header-declared function to static inline When we include the header proto/spoe.h in other files in the same project, the compilator claim that the symbol have multiple definitions: src/flt_spoe.o: In function `spoe_encode_varint': ~/git/haproxy/include/proto/spoe.h:45: multiple definition of `spoe_encode_varint' src/proto_http.o:~/git/haproxy/include/proto/spoe.h:45: first defined here