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:
parent
0edb64c4dc
commit
b11932d24f
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user