Revision 0b5538c3 simpletrace.h

b/simpletrace.h
15 15
#include <stdbool.h>
16 16
#include <stdio.h>
17 17

  
18
#ifdef CONFIG_SIMPLE_TRACE
18 19
typedef uint64_t TraceEventID;
19 20

  
20 21
typedef struct {
......
36 37
void st_set_trace_file_enabled(bool enable);
37 38
bool st_set_trace_file(const char *file);
38 39
void st_flush_trace_buffer(void);
40
void st_init(const char *file);
41
#else
42
static inline void st_init(const char *file)
43
{
44
    /* Do nothing */
45
}
46
#endif /* !CONFIG_SIMPLE_TRACE */
39 47

  
40 48
#endif /* SIMPLETRACE_H */

Also available in: Unified diff