From de383692a9f3a845fc32d0d2f1c59290b9a4f6bc Mon Sep 17 00:00:00 2001 From: Marenz Date: Tue, 19 Apr 2011 21:55:22 +0200 Subject: [PATCH] added include guard --- include/psyc/parser.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/psyc/parser.h b/include/psyc/parser.h index c5d13be..b8a8fdc 100644 --- a/include/psyc/parser.h +++ b/include/psyc/parser.h @@ -1,6 +1,9 @@ #include #include +#ifndef PSYC_PARSER_H_INCLUDED +#define PSYC_PARSER_H_INCLUDED + enum PSYC_Flags { PSYC_HEADER_ONLY = 1 @@ -154,3 +157,6 @@ inline size_t PSYC_getContentLength (PSYC_State* s) int PSYC_parse(PSYC_State* state, uint8_t* modifier, PSYC_Array* name, PSYC_Array* value); int PSYC_parseList(PSYC_ListState* state, PSYC_Array *name, PSYC_Array* value, PSYC_Array* elem); + + +#endif