summary refs log tree commit diff stats
path: root/src/common/util.h
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2016-05-28 16:52:26 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2016-05-28 16:52:26 +1000
commitc698e13c0d3f8835581d1271371110da18827a92 (patch)
tree40dcf62c70ca9e0c519736149e7cb68d2a22b05e /src/common/util.h
parent10e429b85d4108bb453ab80c68050ba8472f4c4d (diff)
Couple of minor const correctness fixes
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h
index bb377fc8..947b1a8a 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -41,7 +41,7 @@ char *expand_homedir (char *file);
 void path_part (char *file, char *path, int pathlen);
 int match (const char *mask, const char *string);
 char *file_part (char *file);
-void for_files (char *dirname, char *mask, void callback (char *file));
+void for_files (const char *dirname, const char *mask, void callback (char *file));
 int rfc_casecmp (const char *, const char *);
 int rfc_ncasecmp (char *, char *, int);
 int buf_get_line (char *, char **, int *, int len);