Commit ac0b20c4 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a couple of old-style functions

parent 63cdbd33
...@@ -50,7 +50,7 @@ static pthread_mutex_t stv_mtx; ...@@ -50,7 +50,7 @@ static pthread_mutex_t stv_mtx;
*/ */
const struct stevedore * const struct stevedore *
STV_next() STV_next(void)
{ {
static struct stevedore *stv; static struct stevedore *stv;
struct stevedore *r; struct stevedore *r;
......
...@@ -188,7 +188,7 @@ static struct suckaddr bogo_ip6_vsa; ...@@ -188,7 +188,7 @@ static struct suckaddr bogo_ip6_vsa;
const struct suckaddr *bogo_ip6 = &bogo_ip6_vsa; const struct suckaddr *bogo_ip6 = &bogo_ip6_vsa;
void void
VSA_Init() VSA_Init(void)
{ {
AN(VSA_BuildFAP(&bogo_ip_vsa, PF_INET, NULL, 0, NULL, 0)); AN(VSA_BuildFAP(&bogo_ip_vsa, PF_INET, NULL, 0, NULL, 0));
AN(VSA_BuildFAP(&bogo_ip6_vsa, PF_INET6, NULL, 0, NULL, 0)); AN(VSA_BuildFAP(&bogo_ip6_vsa, PF_INET6, NULL, 0, NULL, 0));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment