summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-10-29 16:25:25 +0000
committerzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-10-29 16:25:25 +0000
commitf8accb600710dd0aa53136ab60afd94db501f89d (patch)
tree6e49d32ef90130511fa4047ce3cbf72772cd76a3
parent27eb02887f815c18a29e53a7f8e8fe4b44a78566 (diff)
downloadpcre-f8accb600710dd0aa53136ab60afd94db501f89d.tar.gz
Fix function declaration in JIT test.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1188 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r--pcre_jit_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcre_jit_test.c b/pcre_jit_test.c
index 42a61fd..e8a297c 100644
--- a/pcre_jit_test.c
+++ b/pcre_jit_test.c
@@ -796,7 +796,7 @@ static pcre32_jit_stack* callback32(void *arg)
#ifdef SUPPORT_PCRE8
static pcre_jit_stack *stack8;
-static pcre_jit_stack *getstack8()
+static pcre_jit_stack *getstack8(void)
{
if (!stack8)
stack8 = pcre_jit_stack_alloc(1, 1024 * 1024);
@@ -819,7 +819,7 @@ static void setstack8(pcre_extra *extra)
#ifdef SUPPORT_PCRE16
static pcre16_jit_stack *stack16;
-static pcre16_jit_stack *getstack16()
+static pcre16_jit_stack *getstack16(void)
{
if (!stack16)
stack16 = pcre16_jit_stack_alloc(1, 1024 * 1024);
@@ -842,7 +842,7 @@ static void setstack16(pcre16_extra *extra)
#ifdef SUPPORT_PCRE32
static pcre32_jit_stack *stack32;
-static pcre32_jit_stack *getstack32()
+static pcre32_jit_stack *getstack32(void)
{
if (!stack32)
stack32 = pcre32_jit_stack_alloc(1, 1024 * 1024);