瀏覽代碼

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

Loading…
取消
儲存