summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/audio/audioclock.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/audio/audioclock.h')
-rw-r--r--gst-libs/gst/audio/audioclock.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gst-libs/gst/audio/audioclock.h b/gst-libs/gst/audio/audioclock.h
index 8d0e2a3d..f588dee8 100644
--- a/gst-libs/gst/audio/audioclock.h
+++ b/gst-libs/gst/audio/audioclock.h
@@ -26,10 +26,7 @@
#include <gst/gstsystemclock.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GST_TYPE_AUDIO_CLOCK \
(gst_audio_clock_get_type())
@@ -79,9 +76,6 @@ void gst_audio_clock_set_active (GstAudioClock *aclock, gboolean active);
void gst_audio_clock_update_time (GstAudioClock *aclock, GstClockTime time);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GST_AUDIO_CLOCK_H__ */