From 406fda8a68589897f7651abf7523ba7095a54236 Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Thu, 18 Jun 2015 14:47:00 +0200 Subject: [PATCH] Fix warnings --- yara-python/yara-python.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yara-python/yara-python.c b/yara-python/yara-python.c index 3f0a689ba6..9230c67390 100644 --- a/yara-python/yara-python.c +++ b/yara-python/yara-python.c @@ -289,7 +289,7 @@ typedef struct } Rules; -static Rules* Rules_NEW(); +static Rules* Rules_NEW(void); static void Rules_dealloc( PyObject* self); @@ -979,7 +979,7 @@ static PyObject* Rule_getattro( } -static Rules* Rules_NEW() +static Rules* Rules_NEW(void) { Rules* rules = PyObject_NEW(Rules, &Rules_Type);