Remove unnecessary inclusions of <numbers.h>

Functions display_msg() and check_sync() are only used in numbers.c, so they
can be static.

Remove inclusions of <numbers.h> from .c files that don't need it.
This commit is contained in:
Kevin Easton
2016-03-24 11:21:09 +11:00
parent f129ca29e7
commit d464bd91fb
11 changed files with 2 additions and 13 deletions

View File

@@ -85,7 +85,7 @@ char *numeric_banner(void)
return (thing);
}
int check_sync(int comm, char *channel, char *nick, char *whom, char *bantime, ChannelList *chan)
static int check_sync(int comm, char *channel, char *nick, char *whom, char *bantime, ChannelList *chan)
{
ChannelList *tmp = NULL;
BanList *new;
@@ -245,7 +245,7 @@ static int check_server_sync(char *from, char **ArgList)
* possible formats that the irc server spits out. you'd think someone would
* simplify this
*/
void display_msg(char *from, char **ArgList)
static void display_msg(char *from, char **ArgList)
{
char *ptr,
*s,