[pcre-dev] [PATCH] Fix real_pcre and real_pcre16 struct dec…

Top Page

Reply to this message
Author: Evgeny Kotkov
Date:  
To: pcre-dev
Subject: [pcre-dev] [PATCH] Fix real_pcre and real_pcre16 struct declarations in pcre.h.in
Hi all,

This patch fixes two outdated declarations in the pcre.h.in file. This
file eventually becomes pcre.h.generic in the tarballs and may be used
by those who build PCRE without configure/CMake.


Thanks,
Evgeny Kotkov
Index: pcre.h.in
===================================================================
--- pcre.h.in    (revision 1709)
+++ pcre.h.in    (working copy)
@@ -321,11 +321,11 @@ these bits, just add new ones on the end, in order


/* Types */

-struct real_pcre;                 /* declaration; the definition is private  */
-typedef struct real_pcre pcre;
+struct real_pcre8_or_16;          /* declaration; the definition is private  */
+typedef struct real_pcre8_or_16 pcre;


-struct real_pcre16;               /* declaration; the definition is private  */
-typedef struct real_pcre16 pcre16;
+struct real_pcre8_or_16;          /* declaration; the definition is private  */
+typedef struct real_pcre8_or_16 pcre16;


 struct real_pcre32;               /* declaration; the definition is private  */
 typedef struct real_pcre32 pcre32;