aboutsummaryrefslogtreecommitdiffstats
path: root/commands/command_divelist.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-17 09:49:39 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-17 09:04:20 -0700
commit67aec56f8c276cef9e1809404be2141d865bfe96 (patch)
tree24aea71a1adb90ad33003463e8259525cf5e8b77 /commands/command_divelist.h
parent3d7b2a2d7cd9999c595020d23a94f972f1e8147d (diff)
downloadsubsurface-67aec56f8c276cef9e1809404be2141d865bfe96.tar.gz
filter: make filter_preset_table an opaque struct for C code
filter_preset_table_t was defined as "void" for C code. However, that meant that any pointer could be passed as such a table and such a table could be passed as any pointer, without generating compiler warnings. Indeed, we had a parameter-mixup that went unnoticed. Therefore, make filter_preset_t an anonymous structure with the name filter_preset instead. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'commands/command_divelist.h')
0 files changed, 0 insertions, 0 deletions