Add extern C guards in ovni.h
This commit is contained in:
parent
ac6013419b
commit
11b85f03c2
7
ovni.h
7
ovni.h
@ -1,6 +1,10 @@
|
|||||||
#ifndef OVNI_H
|
#ifndef OVNI_H
|
||||||
#define OVNI_H
|
#define OVNI_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -136,5 +140,8 @@ void ovni_ev_jumbo(struct ovni_ev *ev, uint8_t *buf, uint32_t bufsize);
|
|||||||
|
|
||||||
int ovni_flush();
|
int ovni_flush();
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* OVNI_H */
|
#endif /* OVNI_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user