diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-02-27 21:10:26 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-02-28 07:27:10 -0800 |
commit | 416401a301d405a2d2224943efb6e8356b8bbbf8 (patch) | |
tree | baf338c50aa4dcf28a7643272ea1508cafa8d68c /appdata/diveplanner.png | |
parent | 155260e6d9cdc10fc76eeabcbccceb040cea6b3d (diff) | |
download | subsurface-416401a301d405a2d2224943efb6e8356b8bbbf8.tar.gz |
Cleanup: put all function declarations in file.h in extern "C"
Some of the functions declarations were not in 'extern "C"',
despite being C functions. This worked only because they weren't
called from C++. Nevertheless, it seems like a dangerous proposition
to have the same function declared once as C and once as C++.
Therefore, always put them in extern "C" (if compiling in C++ mode,
evidently).
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'appdata/diveplanner.png')
0 files changed, 0 insertions, 0 deletions