From a558c0dcbb4e6322a1b0e399a021ce9c72b048f2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 17 Apr 2021 12:09:54 +0200 Subject: Add inclusion guard to libparser.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libparser.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libparser.h') 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 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 -- cgit v1.2.3-70-g09d2