1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04:00

Make channel event functions static again

This commit is contained in:
Will Storey 2018-08-27 21:04:23 -07:00
parent 0edb64c4dc
commit b11932d24f
2 changed files with 5 additions and 8 deletions

View File

@ -177,7 +177,7 @@ static void set_topic_info(CHANNEL_REC *const chanrec, char const *const setby,
}
}
void event_topic_get(IRC_SERVER_REC *server, const char *data)
static void event_topic_get(IRC_SERVER_REC *server, const char *data)
{
char *params, *channel, *topic;
@ -188,7 +188,7 @@ void event_topic_get(IRC_SERVER_REC *server, const char *data)
g_free(params);
}
void event_topic(IRC_SERVER_REC *server, const char *data,
static void event_topic(IRC_SERVER_REC *server, const char *data,
const char *nick, const char *addr)
{
char *params, *channel, *topic, *mask;
@ -203,7 +203,7 @@ void event_topic(IRC_SERVER_REC *server, const char *data,
g_free(params);
}
void event_topic_info(IRC_SERVER_REC *server, const char *data)
static void event_topic_info(IRC_SERVER_REC *server, const char *data)
{
char *params, *channel, *topicby, *topictime;
time_t t;

View File

@ -3,10 +3,7 @@
#include "irc.h"
/* Not private for tests. */
void event_topic_get(IRC_SERVER_REC *, const char *);
void event_topic(IRC_SERVER_REC *, const char *,
const char *, const char *);
void event_topic_info(IRC_SERVER_REC *, const char *);
void channel_events_init(void);
void channel_events_deinit(void);
#endif