summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2013-06-09 14:21:34 -0700
committerDaniil Baturin <daniil@baturin.org>2013-06-09 14:21:34 -0700
commitec3860e0c942993df3a43a20542c5955b1baf8bb (patch)
treefafa150dd9ef1532692949af099fe455455ef24e
parentda6a2ec931b7e1f5c954ad6264488bb850f81ad9 (diff)
downloadipaddrcheck-ec3860e0c942993df3a43a20542c5955b1baf8bb.tar.gz
ipaddrcheck-ec3860e0c942993df3a43a20542c5955b1baf8bb.zip
Add include guard to the header.
-rw-r--r--src/ipaddrcheck_functions.h4
1 files changed, 4 insertions, 0 deletions
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 <stdio.h>
#include <stdlib.h>
@@ -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 */