From a6c2ac566bd749c14a29f7d8d9d2d4898b1d49de Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Mon, 27 Jul 2015 14:33:17 -0400 Subject: Don’t use C99 comments in headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/regex__FFI.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/regex__FFI.h b/src/regex__FFI.h index ff2f13d..6fa9482 100644 --- a/src/regex__FFI.h +++ b/src/regex__FFI.h @@ -20,12 +20,11 @@ extern "C" { #include -#include #include typedef struct { char* text; - regex_t* compiled; + void* compiled; } uw_Regex__FFI_regex; typedef struct { @@ -57,4 +56,4 @@ uw_Regex__FFI_match uw_Regex__FFI_do_match(struct uw_context*, } #endif -#endif // URWEB_REGEX__FFI_H +#endif /* URWEB_REGEX__FFI_H */ -- cgit v1.2.3