aboutsummaryrefslogtreecommitdiffstats
path: root/support/dfa.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-11-06 14:17:43 +0200
committerArnold D. Robbins <arnold@skeeve.com>2020-11-06 14:17:43 +0200
commit793fc4309e655d68ba2972fb0e7c4be4346424ea (patch)
tree04f6abe151269fd023d86cd4b85c699068e51099 /support/dfa.h
parent22ca86022481cbdfbdc3a2a1f0977735067b2447 (diff)
parent1dbaf410e0b3ec754ee4ab78f861d4ef034e7962 (diff)
downloadegawk-793fc4309e655d68ba2972fb0e7c4be4346424ea.tar.gz
egawk-793fc4309e655d68ba2972fb0e7c4be4346424ea.tar.bz2
egawk-793fc4309e655d68ba2972fb0e7c4be4346424ea.zip
Merge branch 'master' into feature/cmp_scalars
Diffstat (limited to 'support/dfa.h')
-rw-r--r--support/dfa.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/support/dfa.h b/support/dfa.h
index 2f77f263..65477897 100644
--- a/support/dfa.h
+++ b/support/dfa.h
@@ -18,10 +18,17 @@
/* Written June, 1988 by Mike Haertel */
+#ifndef DFA_H_
+#define DFA_H_
+
#include <regex.h>
#include <stdbool.h>
#include <stddef.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct localeinfo; /* See localeinfo.h. */
/* Element of a list of strings, at least one of which is known to
@@ -131,3 +138,9 @@ extern void dfawarn (const char *);
takes a single argument, a NUL-terminated string describing the error.
The user must supply a dfaerror. */
extern _Noreturn void dfaerror (const char *);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* dfa.h */