浏览代码

add an include guard...

main
John-Mark Gurney 2 年前
父节点
当前提交
52316ea2cc
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      comms.h

+ 5
- 0
comms.h 查看文件

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

正在加载...
取消
保存