From ec3860e0c942993df3a43a20542c5955b1baf8bb Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 9 Jun 2013 14:21:34 -0700 Subject: Add include guard to the header. --- src/ipaddrcheck_functions.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/ipaddrcheck_functions.h b/src/ipaddrcheck_functions.h index e444508..4203447 100644 --- a/src/ipaddrcheck_functions.h +++ b/src/ipaddrcheck_functions.h @@ -21,6 +21,8 @@ * */ +#ifndef IPADDRCHECK_FUNCTIONS_H +#define IPADDRCHECK_FUNCTIONS_H #include #include @@ -74,3 +76,5 @@ int is_ipv6_link_local(CIDR *address); int is_valid_intf_address(CIDR *address, char* address_str, int allow_loopback); int is_any_host(CIDR *address); int is_any_net(CIDR *address); + +#endif /* IPADDRCHECK_FUNCTIONS_H */ -- cgit v1.2.3