summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/ucp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/pcrelib/ucp.h')
-rw-r--r--ext/pcre/pcrelib/ucp.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/pcre/pcrelib/ucp.h b/ext/pcre/pcrelib/ucp.h
index c013978e23..955e104a6a 100644
--- a/ext/pcre/pcrelib/ucp.h
+++ b/ext/pcre/pcrelib/ucp.h
@@ -2,6 +2,10 @@
* libucp - Unicode Property Table handler *
*************************************************/
+
+#ifndef _UCP_H
+#define _UCP_H
+
/* These are the character categories that are returned by ucp_findchar */
enum {
@@ -49,10 +53,8 @@ enum {
ucp_Zs /* Space separator */
};
-/* For use in PCRE we make this function static so that there is no conflict if
-PCRE is linked with an application that makes use of an external version -
-assuming an external version is ever released... */
+extern int ucp_findchar(const int, int *, int *);
-static int ucp_findchar(const int, int *, int *);
+#endif
/* End of ucp.h */