diff options
Diffstat (limited to 'include/traceevent/trace-seq.h')
-rw-r--r-- | include/traceevent/trace-seq.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/traceevent/trace-seq.h b/include/traceevent/trace-seq.h index d68ec69..217492f 100644 --- a/include/traceevent/trace-seq.h +++ b/include/traceevent/trace-seq.h @@ -10,6 +10,10 @@ #include <stdarg.h> #include <stdio.h> +#ifdef __cplusplus +extern "C" { +#endif + /* ----------------------- trace_seq ----------------------- */ #ifndef TRACE_SEQ_BUF_SIZE @@ -52,4 +56,8 @@ extern void trace_seq_terminate(struct trace_seq *s); extern int trace_seq_do_fprintf(struct trace_seq *s, FILE *fp); extern int trace_seq_do_printf(struct trace_seq *s); +#ifdef __cplusplus +} +#endif + #endif /* _TRACE_SEQ_H */ |