diff options
author | Thomas Rast <tr@thomasrast.ch> | 2013-11-25 21:04:08 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-11-27 10:44:15 -0800 |
commit | e9e03a77994f4bf030760e2644f718776de0eb39 (patch) | |
tree | b7a90daec958b2f0bf3f10a9eb3e30560a82134b /contrib/vim | |
parent | commit-slab: document clear_$slabname() (diff) | |
download | tgif-e9e03a77994f4bf030760e2644f718776de0eb39.tar.xz |
commit-slab: declare functions "static inline"
This shuts up compiler warnings about unused functions. No such
warnings are currently triggered, but if someone were to actually
use init_NAME_with_stride() as documented, they would get a warning
about init_NAME() being unused.
While there, write a comment about why the last real declaration of
the variable is without a terminating semicolon, while another
forward declarations have one.
Signed-off-by: Thomas Rast <tr@thomasrast.ch>
Helped-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/vim')
0 files changed, 0 insertions, 0 deletions