1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 09:13:14 +02:00

api: fix type of value returned by function util_get_time_string

This commit is contained in:
Sébastien Helleu
2015-07-04 16:23:04 +02:00
parent e8615c1691
commit 23fd23fd1a
8 changed files with 43 additions and 17 deletions
+2 -2
View File
@@ -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 */