]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: change header-declared function to static inline
authorThierry FOURNIER <thierry.fournier@ozon.io>
Sun, 9 Apr 2017 03:41:27 +0000 (05:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 27 Apr 2017 09:50:07 +0000 (11:50 +0200)
commitf4128a9981de0b0fd5f5cea9e58942245eeef332
treea6469abec3b68b680535da0a7b505b798ab82c38
parent18330ab17fb36a3eb8292c8c128751e0d230ec27
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
include/proto/spoe.h