aboutsummaryrefslogtreecommitdiffstats
path: root/epan/timestamp.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/timestamp.h')
-rw-r--r--epan/timestamp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/timestamp.h b/epan/timestamp.h
index 9282ac5216..da41c947a2 100644
--- a/epan/timestamp.h
+++ b/epan/timestamp.h
@@ -25,6 +25,10 @@
#ifndef __TIMESTAMP_H__
#define __TIMESTAMP_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* Type of time-stamp shown in the summary display.
*/
@@ -81,4 +85,8 @@ extern void timestamp_set_precision(int tsp);
extern ts_seconds_type timestamp_get_seconds_type(void);
extern void timestamp_set_seconds_type(ts_seconds_type);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* timestamp.h */