Enhancement #750 » 0005-sanitize-add-missing-void-on-functions-not-expecting.patch
| src/bip.c | ||
|---|---|---|
|
#define ERRBUFSZ 128
|
||
|
extern list_t *root_list;
|
||
|
extern int yyparse();
|
||
|
extern int yyparse(void);
|
||
|
void conf_die(bip_t *bip, char *fmt, ...)
|
||
|
{
|
||
| ... | ... | |
|
return 0;
|
||
|
}
|
||
|
void check_rlimits()
|
||
|
void check_rlimits(void)
|
||
|
{
|
||
|
int r, cklim;
|
||
|
struct rlimit lt;
|
||
| src/bip_main.c | ||
|---|---|---|
|
void reload_config(int i);
|
||
|
void bad_quit(int i);
|
||
|
void check_rlimits();
|
||
|
void check_rlimits(void);
|
||
|
void rlimit_cpu_reached(int i);
|
||
|
void rlimit_bigfile_reached(int i);
|
||
|
void conf_die(bip_t *bip, char *fmt, ...);
|
||
| ... | ... | |
|
exit(1);
|
||
|
}
|
||
|
static void version()
|
||
|
static void version(void)
|
||
|
{
|
||
|
printf(
|
||
|
"Bip IRC Proxy - " PACKAGE_VERSION "\n"
|
||
| src/conf.y | ||
|---|---|---|
|
extern int yyerror(char *);
|
||
|
int yywrap()
|
||
|
int yywrap(void)
|
||
|
{
|
||
|
return 1;
|
||
|
}
|
||
| src/irc.c | ||
|---|---|---|
|
free(cli);
|
||
|
}
|
||
|
struct link *irc_link_new()
|
||
|
struct link *irc_link_new(void)
|
||
|
{
|
||
|
struct link *link;
|
||
|
link = bip_calloc(sizeof(struct link), 1);
|
||
| src/irc.h | ||
|---|---|---|
|
struct link_client *irc_client_new(void);
|
||
|
struct link_server *irc_server_new(struct link *link, connection_t *conn);
|
||
|
void irc_server_free(struct link_server *is);
|
||
|
struct client *client_new();
|
||
|
struct client *client_new(void);
|
||
|
void irc_main(bip_t *);
|
||
|
int ischannel(char p);
|
||
|
void irc_client_close(struct link_client *);
|
||
|
void irc_client_free(struct link_client *);
|
||
|
struct link *irc_link_new();
|
||
|
struct link *irc_link_new(void);
|
||
|
void link_kill(bip_t *bip, struct link *);
|
||
|
void unbind_from_link(struct link_client *ic);
|
||
|
char *nick_from_ircmask(const char *mask);
|
||