diff options
author | Hannes Eder <heder@google.com> | 2009-10-08 17:51:49 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-10-08 17:51:49 +0200 |
commit | 8e2cf11655fc7172fb58344883feb0721f499cb6 (patch) | |
tree | a9b10266f0a6bf583133d09b16e8a4f4d40dbe15 /src/expect | |
parent | 8fe783ae7d4dba6366a2850a83941df11f8ae9a2 (diff) |
api: use ANSI style function
Signed-off-by: Hannes Eder <heder@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expect')
-rw-r--r-- | src/expect/api.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |