diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-07-04 16:23:04 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-07-04 16:23:04 +0200 |
commit | 23fd23fd1a189ad13573bd4277def21ead4b91ed (patch) | |
tree | 7b72ba5d41bd40775f315a1dafdb90ec724b6f1e /src/plugins | |
parent | e8615c169169e735254d9273f2e4bea31b83e898 (diff) | |
download | weechat-23fd23fd1a189ad13573bd4277def21ead4b91ed.zip |
api: fix type of value returned by function util_get_time_string
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/weechat-plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 51cf06281..31ed0fcfe 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -57,7 +57,7 @@ struct timeval; * please change the date with current one; for a second change at same * date, increment the 01, otherwise please keep 01. */ -#define WEECHAT_PLUGIN_API_VERSION "20150704-01" +#define WEECHAT_PLUGIN_API_VERSION "20150704-02" /* macros for defining plugin infos */ #define WEECHAT_PLUGIN_NAME(__name) \ @@ -347,7 +347,7 @@ struct t_weechat_plugin int (*util_timeval_cmp) (struct timeval *tv1, struct timeval *tv2); long long (*util_timeval_diff) (struct timeval *tv1, struct timeval *tv2); void (*util_timeval_add) (struct timeval *tv, long long interval); - char *(*util_get_time_string) (const time_t *date); + const char *(*util_get_time_string) (const time_t *date); int (*util_version_number) (const char *version); /* sorted lists */ |