summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2015-02-07 11:55:14 +0100
committerDaniel Carl <danielcarl@gmx.de>2015-02-07 11:55:14 +0100
commit0b19f8879c4468807ecbee49abd93a0b1226b9f6 (patch)
tree9d69730a381d2eaa78a76ef310efffb5e7c6c980 /src/util.h
parent52c599ada83e6f47fd603d58550f3e3cb7385d42 (diff)
Allocate new memory for history items.
This makes it easier to maintain the code and to avoid memory leaks.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index dcfa0e1..653001d 100644
--- a/src/util.h
+++ b/src/util.h
@@ -28,7 +28,7 @@ enum {
UTIL_EXP_SPECIAL = 0x04, /* expand % to current URI */
};
-typedef void *(*Util_Content_Func)(char*, char*);
+typedef void *(*Util_Content_Func)(const char*, const char*);
char* util_get_config_dir(void);
char* util_get_cache_dir(void);