}
static void
-yyerror(s)
-char *s;
+yyerror(char *s)
{
logit(LOG_ERR, 0, "%s: %s near line %d", configfilename, s, lineno);
}
static char *
-next_word()
+next_word(void)
{
static char buf[1024];
static char *p=NULL;
}
static int
-yylex()
+yylex(void)
{
int n;
u_int32_t addr;
}
void
-config_vifs_from_file()
+config_vifs_from_file(void)
{
extern FILE *f;
}
static u_int32_t
-valid_if(s)
-char *s;
+valid_if(char *s)
{
register vifi_t vifi;
register struct uvif *v;
}
static const char *
-ifconfaddr(a)
- u_int32_t a;
+ifconfaddr(u_int32_t a)
{
static char ifname[IFNAMSIZ];
struct ifaddrs *ifap, *ifa;