diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-11-24 10:01:03 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-01-09 20:58:04 -0800 |
commit | 2802d4296960eb6ad76292baa105075c5427ea67 (patch) | |
tree | 45e96ec24c73bc350c767a9bc22c42152d41874d /desktop-widgets/starwidget.cpp | |
parent | 825fcc854788750d0d1afc4a6d1cdae9e85e738e (diff) | |
download | subsurface-2802d4296960eb6ad76292baa105075c5427ea67.tar.gz |
Cleanup: Make add_dive_to_table local to divelist.c
This function was not used outside of divelist.c, therefore make it
local. Moreover rename it to add_to_divetable so that the name
is generic and can be generated by a macro.
Moreover, remove the special case idx = -1, which would determine
the insertion index. Instead let the single caller who used this
feature do this.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/starwidget.cpp')
0 files changed, 0 insertions, 0 deletions