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 --- passt.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'passt.h') diff --git a/passt.h b/passt.h index cd28973..98f10a1 100644 --- a/passt.h +++ b/passt.h @@ -3,6 +3,9 @@ * Author: Stefano Brivio */ +#ifndef PASST_H +#define PASST_H + #define UNIX_SOCK_MAX 100 #define UNIX_SOCK_PATH "/tmp/passt_%i.socket" @@ -232,3 +235,5 @@ struct ctx { void proto_update_l2_buf(unsigned char *eth_d, unsigned char *eth_s, uint32_t *ip_da); + +#endif /* PASST_H */ -- cgit v1.2.3