changeset 684:a6e7a29ecd30

Constify.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Mar 2020 23:39:11 +0200
parents d8738bfad0a8
children 18b7c2c9f838
files th_file.c th_file.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/th_file.c	Wed Mar 04 21:31:14 2020 +0200
+++ b/th_file.c	Wed Mar 04 23:39:11 2020 +0200
@@ -154,7 +154,7 @@
 }
 
 
-BOOL th_mkdir_path(const char *cpath, int mode)
+BOOL th_mkdir_path(const char *cpath, const int mode)
 {
     char save, *path = th_strdup(cpath);
     size_t start = 0, end;
--- a/th_file.h	Wed Mar 04 21:31:14 2020 +0200
+++ b/th_file.h	Wed Mar 04 23:39:11 2020 +0200
@@ -49,7 +49,7 @@
 char *  th_get_config_dir(const char *name);
 
 BOOL    th_stat_path(const char *path, th_stat_data *data);
-BOOL    th_mkdir_path(const char *cpath, int mode);
+BOOL    th_mkdir_path(const char *path, const int mode);
 
 
 #ifdef __cplusplus