cleanup: separate public and private interface for hed_put_cursor
commitfcc4302ab1f21dd83ecb6cb50422214ed1bddfba
authorPetr Tesarik <petr@tesarici.cz>
Tue, 2 Oct 2012 05:09:34 +0000 (2 07:09 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Tue, 2 Oct 2012 05:09:34 +0000 (2 07:09 +0200)
treead6557e5f83b529e45ea0d267dbc366011f72551
parent44fea2ee6995672821b98aadb44da08ec580ff43
cleanup: separate public and private interface for hed_put_cursor

We can inline the hed_put_cursor function internally and provide an
external interface for it.

Note that gcc is able to perform this optimization even without this
commit, but other compilers may not.
libhed/file.c