Add extern C guards in ovni.h

This commit is contained in:
Rodrigo Arias 2021-10-11 15:54:54 +02:00
parent ac6013419b
commit 11b85f03c2

7
ovni.h
View File

@ -1,6 +1,10 @@
#ifndef OVNI_H
#define OVNI_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include <stdint.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();
#ifdef __cplusplus
}
#endif
#endif /* OVNI_H */