summaryrefslogtreecommitdiffstats
path: root/src/expect/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expect/api.c')
-rw-r--r--src/expect/api.c4
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);
}