mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
44bcc5a307
commit
f7b2355ced
5 changed files with 12 additions and 12 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue