summaryrefslogtreecommitdiff
path: root/src/core/wee-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-util.h')
-rw-r--r--src/core/wee-util.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/core/wee-util.h b/src/core/wee-util.h
index 1e6ceed4b..c94003f05 100644
--- a/src/core/wee-util.h
+++ b/src/core/wee-util.h
@@ -23,12 +23,15 @@
extern int util_timeval_cmp (struct timeval *tv1, struct timeval *tv2);
extern long util_timeval_diff (struct timeval *tv1, struct timeval *tv2);
extern void util_timeval_add (struct timeval *tv, long interval);
-extern int util_get_time_length (char *time_format);
+extern int util_get_time_length (const char *time_format);
extern void util_catch_signal (int signum, void (*handler)(int));
-extern int util_create_dir (char *directory, int permissions);
-extern void util_exec_on_files (char *directory, void *data,
- int (*callback)(void *data, char *filename));
-extern char *util_search_full_lib_name (char *filename, char *sys_directory);
-extern int util_weechat_version_cmp (char *version1, char *version2);
+extern int util_create_dir (const char *directory, int permissions);
+extern void util_exec_on_files (const char *directory, void *data,
+ int (*callback)(void *data,
+ const char *filename));
+extern char *util_search_full_lib_name (const char *filename,
+ const char *sys_directory);
+extern int util_weechat_version_cmp (const char *version1,
+ const char *version2);
#endif /* wee-util.h */