Ver a proveniência

add an include guard...

main
John-Mark Gurney há 2 anos
ascendente
cometimento
52316ea2cc
1 ficheiros alterados com 5 adições e 0 eliminações
  1. +5
    -0
      comms.h

+ 5
- 0
comms.h Ver ficheiro

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

Carregando…
Cancelar
Guardar