[Forensics-changes] [yara] 51/368: Fix warnings
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:30:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.5.0
in repository yara.
commit ac6ba21f05414f560c1f15702ff2ddd38f60198f
Author: Victor M. Alvarez <vmalvarez at virustotal.com>
Date: Tue Sep 15 12:43:03 2015 +0200
Fix warnings
---
libyara/mem.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libyara/mem.c b/libyara/mem.c
index fa52024..7e3d7d3 100644
--- a/libyara/mem.c
+++ b/libyara/mem.c
@@ -25,7 +25,7 @@ limitations under the License.
static HANDLE hHeap;
-int yr_heap_alloc()
+int yr_heap_alloc(void)
{
hHeap = HeapCreate(0, 0x8000, 0);
@@ -36,7 +36,7 @@ int yr_heap_alloc()
}
-int yr_heap_free()
+int yr_heap_free(void)
{
if (HeapDestroy(hHeap))
return ERROR_SUCCESS;
@@ -108,13 +108,13 @@ char* yr_strndup(const char *str, size_t n)
#include <yara/error.h>
-int yr_heap_alloc()
+int yr_heap_alloc(void)
{
return ERROR_SUCCESS;
}
-int yr_heap_free()
+int yr_heap_free(void)
{
return ERROR_SUCCESS;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list