diff options
-rw-r--r-- | src/conntrack/api.c | 4 | ||||
-rw-r--r-- | src/expect/api.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/conntrack/api.c b/src/conntrack/api.c index 56a3a8a..41d9c88 100644 --- a/src/conntrack/api.c +++ b/src/conntrack/api.c @@ -18,7 +18,7 @@ * In case of success, this function returns a valid pointer to a memory blob, * otherwise NULL is returned and errno is set appropiately. */ -struct nf_conntrack *nfct_new() +struct nf_conntrack *nfct_new(void) { struct nf_conntrack *ct; @@ -66,7 +66,7 @@ size_t nfct_sizeof(const struct nf_conntrack *ct) * does although _this could change in the future_. Therefore, do not assume * that nfct_sizeof(ct) == nfct_maxsize(). */ -size_t nfct_maxsize() +size_t nfct_maxsize(void) { return sizeof(struct nf_conntrack); } diff --git a/src/expect/api.c b/src/expect/api.c index b532e00..49f6ef1 100644 --- a/src/expect/api.c +++ b/src/expect/api.c @@ -18,7 +18,7 @@ * In case of success, this function returns a valid pointer to a memory blob, * otherwise NULL is returned and errno is set appropiately. */ -struct nf_expect *nfexp_new() +struct nf_expect *nfexp_new(void) { struct nf_expect *exp; @@ -66,7 +66,7 @@ size_t nfexp_sizeof(const struct nf_expect *exp) * does although _this could change in the future_. Therefore, do not assume * that nfexp_sizeof(exp) == nfexp_maxsize(). */ -size_t nfexp_maxsize() +size_t nfexp_maxsize(void) { return sizeof(struct nf_expect); } |