* lib/dfa.h: Allow multiple inclusion, and inclusion from
C++ code. The latter was suggested by Arnold Robbins.
+2020-11-02 Paul Eggert <eggert@cs.ucla.edu>
+
+ dfa.h: support inclusion from C++
+ * lib/dfa.h: Allow multiple inclusion, and inclusion from
+ C++ code. The latter was suggested by Arnold Robbins.
+
2020-11-01 Bruno Haible <bruno@clisp.org>
ssfmalloc tests: Portability to Linux/PowerPC and Linux/SPARC.
/* 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
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 */