소스 검색

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

불러오는 중...
취소
저장