Browse Source

add an include guard...

main
John-Mark Gurney 2 years ago
parent
commit
52316ea2cc
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      comms.h

+ 5
- 0
comms.h View File

@@ -24,6 +24,9 @@
*
*/

#ifndef __COMMS_H__
#define __COMMS_H__ 1

#include <sys/types.h>
#include <stdint.h>

@@ -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__ */

Loading…
Cancel
Save