From: Thierry FOURNIER Date: Fri, 14 Jun 2013 13:28:25 +0000 (+0200) Subject: CLEANUP: protect checks.h from multiple inclusions X-Git-Tag: v1.5-dev19~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eeb43549481fde6bbe096de9f4964a562551d6f;p=thirdparty%2Fhaproxy.git CLEANUP: protect checks.h from multiple inclusions The types/checks.h include file isn't protected against multiple inclusions, so let's surround it with "#ifndef _TYPES_CHECKS_H/#endif" to fix this. --- diff --git a/include/types/checks.h b/include/types/checks.h index 6dcecf5169..09a4eee013 100644 --- a/include/types/checks.h +++ b/include/types/checks.h @@ -10,6 +10,9 @@ * */ +#ifndef _TYPES_CHECKS_H +#define _TYPES_CHECKS_H + /* check status */ enum { HCHK_STATUS_UNKNOWN = 0, /* Unknown */ @@ -102,3 +105,5 @@ struct analyze_status { char *desc; /* description */ unsigned char lr[HANA_OBS_SIZE]; /* result for l4/l7: 0 = ignore, 1 - error, 2 - OK */ }; + +#endif /* _TYPES_CHECKS_H */