Re: [PATCH 2/3] ewok_rlw.h: add missing 'inline' to function definition

2018-10-27 Thread Jeff King
On Sat, Oct 27, 2018 at 02:52:05AM +0100, Ramsay Jones wrote: > The 'ewok_rlw.h' header file contains the rlw_get_run_bit() function > definition, which is marked as 'static' but not 'inline'. At least when > compiled by gcc, with the default -O2 optimization level, the function > is actually

[PATCH 2/3] ewok_rlw.h: add missing 'inline' to function definition

2018-10-26 Thread Ramsay Jones
The 'ewok_rlw.h' header file contains the rlw_get_run_bit() function definition, which is marked as 'static' but not 'inline'. At least when compiled by gcc, with the default -O2 optimization level, the function is actually inlined and leaves no static version in the ewah_bitmap.o and ewah_rlw.o