summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/errors.h
diff options
context:
space:
mode:
Diffstat (limited to 'macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/errors.h')
-rw-r--r--macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/errors.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/errors.h b/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/errors.h
index 112669f46b..733d1372a5 100644
--- a/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/errors.h
+++ b/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/errors.h
@@ -1,4 +1,11 @@
/* errors.h - declarations for error.c */
+#ifndef ERRORS_H
+#define ERRORS_H
+
+#include "tree_types.h"
+
+void fatal (char *);
+void bug (char *);
enum error_type { error, warning };
@@ -12,3 +19,4 @@ void line_error_ext (enum error_type type, LINE_NR *cmd_line_nr,
void bug_message (char *format, ...);
char *dump_errors (void);
+#endif