[Pcre-svn] [1162] code/trunk/src/pcre2_maketables.c: Cut out…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [1162] code/trunk/src/pcre2_maketables.c: Cut out maketables_free when included in freestanding program.
Revision: 1162
          http://www.exim.org/viewvc/pcre2?view=rev&revision=1162
Author:   ph10
Date:     2019-09-04 08:23:01 +0100 (Wed, 04 Sep 2019)
Log Message:
-----------
Cut out maketables_free when included in freestanding program.


Modified Paths:
--------------
    code/trunk/src/pcre2_maketables.c


Modified: code/trunk/src/pcre2_maketables.c
===================================================================
--- code/trunk/src/pcre2_maketables.c    2019-09-03 14:16:07 UTC (rev 1161)
+++ code/trunk/src/pcre2_maketables.c    2019-09-04 07:23:01 UTC (rev 1162)
@@ -147,6 +147,7 @@
 return yield;
 }


+#ifndef DFTABLES
 PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION
 pcre2_maketables_free(pcre2_general_context *gcontext, const uint8_t *tables)
 {
@@ -155,5 +156,6 @@
   else
     free((void *)tables);
 }
+#endif


/* End of pcre2_maketables.c */