summaryrefslogtreecommitdiff
path: root/graph.h
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsayjones.plus.com>2018-10-27 01:52:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-10-29 01:14:19 (GMT)
commit3a457a08f2cb7d2b3a7279bf2340486eb65c41e0 (patch)
treef79def2275e5e0a573cc552c586a3a168fdf8ef9 /graph.h
parent813fc4410c37b0765910a20238f72a7a74e161b7 (diff)
downloadgit-3a457a08f2cb7d2b3a7279bf2340486eb65c41e0.zip
git-3a457a08f2cb7d2b3a7279bf2340486eb65c41e0.tar.gz
git-3a457a08f2cb7d2b3a7279bf2340486eb65c41e0.tar.bz2
ewok_rlw.h: add missing 'inline' to function definition
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 object files. Despite this, add the missing 'inline' keyword to better describe the intended behaviour. Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'graph.h')
0 files changed, 0 insertions, 0 deletions