From 52316ea2cc4067bc963c4e8b334010ddef610340 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sun, 20 Mar 2022 20:47:00 -0700 Subject: [PATCH] add an include guard... --- comms.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/comms.h b/comms.h index a2aed29..4e578a7 100644 --- a/comms.h +++ b/comms.h @@ -24,6 +24,9 @@ * */ +#ifndef __COMMS_H__ +#define __COMMS_H__ 1 + #include #include @@ -94,3 +97,5 @@ size_t _comms_state_size(); int comms_init(struct comms_state *, process_msgfunc_t, struct pktbuf *, struct pktbuf *, struct pktbuf *); void comms_process(struct comms_state *, struct pktbuf, struct pktbuf *); + +#endif /* __COMMS_H__ */