mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 14:51:27 +02:00
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.
This commit is contained in:
parent
d3879e8b57
commit
7eeb435494
@ -10,6 +10,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _TYPES_CHECKS_H
|
||||||
|
#define _TYPES_CHECKS_H
|
||||||
|
|
||||||
/* check status */
|
/* check status */
|
||||||
enum {
|
enum {
|
||||||
HCHK_STATUS_UNKNOWN = 0, /* Unknown */
|
HCHK_STATUS_UNKNOWN = 0, /* Unknown */
|
||||||
@ -102,3 +105,5 @@ struct analyze_status {
|
|||||||
char *desc; /* description */
|
char *desc; /* description */
|
||||||
unsigned char lr[HANA_OBS_SIZE]; /* result for l4/l7: 0 = ignore, 1 - error, 2 - OK */
|
unsigned char lr[HANA_OBS_SIZE]; /* result for l4/l7: 0 = ignore, 1 - error, 2 - OK */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif /* _TYPES_CHECKS_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user