[Pcre-svn] [1188] code/trunk/pcre_jit_test.c: Fix function d…

Startseite
Nachricht löschen
Autor: Subversion repository
Datum:  
To: pcre-svn
Betreff: [Pcre-svn] [1188] code/trunk/pcre_jit_test.c: Fix function declaration in JIT test.
Revision: 1188
          http://vcs.pcre.org/viewvc?view=rev&revision=1188
Author:   zherczeg
Date:     2012-10-29 16:25:25 +0000 (Mon, 29 Oct 2012)


Log Message:
-----------
Fix function declaration in JIT test.

Modified Paths:
--------------
    code/trunk/pcre_jit_test.c


Modified: code/trunk/pcre_jit_test.c
===================================================================
--- code/trunk/pcre_jit_test.c    2012-10-29 11:30:45 UTC (rev 1187)
+++ code/trunk/pcre_jit_test.c    2012-10-29 16:25:25 UTC (rev 1188)
@@ -796,7 +796,7 @@
 #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 @@
 #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 @@
 #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);