Re: [libvirt] [PATCH] device_conf: Let compiler decide on inlining functions

2016-08-01 Thread Martin Kletzander
On Mon, Aug 01, 2016 at 06:21:49PM +0200, Michal Privoznik wrote: There's no point in forcing some functions to be both 'static' and 'inline' at the same time at the header file level. This leads to a situation where just linking the file defines those function (potentially needlessly). Instead,

[libvirt] [PATCH] device_conf: Let compiler decide on inlining functions

2016-08-01 Thread Michal Privoznik
There's no point in forcing some functions to be both 'static' and 'inline' at the same time at the header file level. This leads to a situation where just linking the file defines those function (potentially needlessly). Instead, we should let the compiler (linker) decide whether the function are