aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-17 12:09:54 +0200
committerMattias Andrée <maandree@kth.se>2021-04-17 12:09:54 +0200
commita558c0dcbb4e6322a1b0e399a021ce9c72b048f2 (patch)
treed20d8020741b55d4e099d1b9ec6132d78e633bd3
parentFirst commit (diff)
downloadlibparser-a558c0dcbb4e6322a1b0e399a021ce9c72b048f2.tar.gz
libparser-a558c0dcbb4e6322a1b0e399a021ce9c72b048f2.tar.bz2
libparser-a558c0dcbb4e6322a1b0e399a021ce9c72b048f2.tar.xz
Add inclusion guard to libparser.h
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libparser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libparser.h b/libparser.h
index 74ab319..31d29b6 100644
--- a/libparser.h
+++ b/libparser.h
@@ -1,4 +1,7 @@
/* See LICENSE file for copyright and license details. */
+#ifndef LIBPARSER_H
+#define LIBPARSER_H
+
#include <stddef.h>
union libparser_sentence;
@@ -71,3 +74,5 @@ extern const struct libparser_rule *const libparser_rule_table[];
struct libparser_unit *libparser_parse_file(const struct libparser_rule *const rules[],
const char *data, size_t length, int *exceptionp);
+
+#endif