]> git.ipfire.org Git - thirdparty/lldpd.git/commit
daemon: do not explicitely inline functions fix/no-explicit-inline 300/head
authorVincent Bernat <vincent@bernat.ch>
Tue, 2 Oct 2018 18:36:37 +0000 (20:36 +0200)
committerVincent Bernat <vincent@bernat.ch>
Tue, 2 Oct 2018 19:11:41 +0000 (21:11 +0200)
commit4384cc0dc0c79a2dba1659f8fbffbec9c362e1d5
tree9f2965c50c87dc22f137d7b2fe13b62eec0739a0
parentff3dcc4ad71c1105bd8ea11afe7e07efd48c038d
daemon: do not explicitely inline functions

As we are using `-Winline`, if it fails, we get a warning. Let the
compiler decide if something has to be inlined. As we use only static
functions, it should be easy to inline if possible.
src/daemon/agent.c
src/daemon/interfaces-linux.c
src/daemon/interfaces.c
src/daemon/protocols/lldp.c
src/lldpd-structs.h