summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-07-27 14:33:17 -0400
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-07-27 14:33:17 -0400
commita6c2ac566bd749c14a29f7d8d9d2d4898b1d49de (patch)
tree8ac3ab8c972bb342134e577733520dd118f5bb97
parent3f363c6eb796354c45632fca033a312addaf49ee (diff)
Don’t use C99 comments in headers
-rw-r--r--src/regex__FFI.h5
1 files 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 <stddef.h>
-#include <regex.h>
#include <urweb/urweb_cpp.h>
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 */