diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-11 17:28:10 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-01-20 10:01:50 -0800 |
commit | 8d423359a54aa181e93fd4124c537f0fa567663f (patch) | |
tree | 7e7f05b58431d1f13207b19428ca535e0d7c6d01 /core/gaspressures.h | |
parent | ad1e57dd67d7e63ead760415377e8780660aa2de (diff) | |
download | subsurface-8d423359a54aa181e93fd4124c537f0fa567663f.tar.gz |
cleanup: constify populate_pressure_information()
This has only read access on the dive. Make the parameter const.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/gaspressures.h')
-rw-r--r-- | core/gaspressures.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gaspressures.h b/core/gaspressures.h index 6444ec93b..a2d764816 100644 --- a/core/gaspressures.h +++ b/core/gaspressures.h @@ -6,7 +6,7 @@ extern "C" { #endif -void populate_pressure_information(struct dive *, struct divecomputer *, struct plot_info *, int); +void populate_pressure_information(const struct dive *, const struct divecomputer *, struct plot_info *, int); #ifdef __cplusplus } |