summaryrefslogtreecommitdiffstats
path: root/core/qthelper.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-03-13 22:12:23 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-04-11 14:01:51 +0300
commitf7b2355cedb75a8ed97644c05d57977f993cb08b (patch)
tree418456caa1f16a660002867f346ca3f89b88e8fe /core/qthelper.h
parent44bcc5a30772237e7f0f47d618af345520fb5804 (diff)
downloadsubsurface-f7b2355cedb75a8ed97644c05d57977f993cb08b.tar.gz
Cleanup: unconstify results of two functions
get_dive_date_c_string() and get_current_date() return copied strings. Make this explicit by returning non-const pointers. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/qthelper.h')
-rw-r--r--core/qthelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qthelper.h b/core/qthelper.h
index 02fc629f8..4c0dcda66 100644
--- a/core/qthelper.h
+++ b/core/qthelper.h
@@ -79,7 +79,7 @@ char *picturedir_string();
const char *subsurface_user_agent();
enum deco_mode decoMode();
int parse_seabear_header(const char *filename, char **params, int pnr);
-const char *get_current_date();
+char *get_current_date();
double cache_value(int tissue, int timestep, enum inertgas gas);
void cache_insert(int tissue, int timestep, enum inertgas gas, double value);
void print_qt_versions();