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/conntrack/api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/conntrack/api.c') 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); } -- cgit v1.2.3