summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-util.c2
-rw-r--r--src/core/wee-util.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-util.c b/src/core/wee-util.c
index d2b6a3681..d4d4e8d8f 100644
--- a/src/core/wee-util.c
+++ b/src/core/wee-util.c
@@ -305,7 +305,7 @@ util_timeval_add (struct timeval *tv, long long interval)
* (can be localized).
*/
-char *
+const char *
util_get_time_string (const time_t *date)
{
struct tm *local_time;
diff --git a/src/core/wee-util.h b/src/core/wee-util.h
index 0103fb842..583dfc0d9 100644
--- a/src/core/wee-util.h
+++ b/src/core/wee-util.h
@@ -38,7 +38,7 @@ extern void util_setrlimit ();
extern int util_timeval_cmp (struct timeval *tv1, struct timeval *tv2);
extern long long util_timeval_diff (struct timeval *tv1, struct timeval *tv2);
extern void util_timeval_add (struct timeval *tv, long long interval);
-extern char *util_get_time_string (const time_t *date);
+extern const char *util_get_time_string (const time_t *date);
extern int util_signal_search (const char *name);
extern void util_catch_signal (int signum, void (*handler)(int));
extern int util_mkdir_home (const char *directory, int mode);