From 8e2cf11655fc7172fb58344883feb0721f499cb6 Mon Sep 17 00:00:00 2001 From: Hannes Eder Date: Thu, 8 Oct 2009 17:51:49 +0200 Subject: api: use ANSI style function Signed-off-by: Hannes Eder Signed-off-by: Pablo Neira Ayuso --- src/expect/api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/expect') 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); } -- cgit v1.2.3