mirror of
https://git.planet-casio.com/Lephenixnoir/libprof.git
synced 2024-12-27 12:03:41 +01:00
add C++ header guards
This commit is contained in:
parent
b6657c0834
commit
6d82009532
1 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
|||
#ifndef LIBPROF_LIBPROF
|
||||
#define LIBPROF_LIBPROF
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <gint/defs/attributes.h>
|
||||
|
||||
|
@ -98,4 +102,8 @@ extern uint32_t volatile *prof_tcnt;
|
|||
Should only be called when the context is not currently executing. */
|
||||
uint32_t prof_time(prof_t prof);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* LIBPROF_LIBPROF */
|
||||
|
|
Loading…
Reference in a new issue