From 965f603238a92b6ab8cd8a0592e0fb65c096b3e1 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sat, 26 Mar 2022 00:05:31 +0100 Subject: treewide: Add include guards ...at the moment, just for consistency with packet.h, icmp.h, tcp.h and udp.h. Signed-off-by: Stefano Brivio --- util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'util.h') diff --git a/util.h b/util.h index 073a913..6779f24 100644 --- a/util.h +++ b/util.h @@ -3,6 +3,9 @@ * Author: Stefano Brivio */ +#ifndef UTIL_H +#define UTIL_H + void err(const char *format, ...); void warn(const char *format, ...); void info(const char *format, ...); @@ -213,3 +216,5 @@ int ns_enter(struct ctx *c); void write_pidfile(int fd, pid_t pid); int __daemon(int pidfile_fd, int devnull_fd); int fls(unsigned long x); + +#endif /* UTIL_H */ -- cgit v1.2.3