watchdog: Add missing static keyword
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 16 Aug 2018 20:58:31 +0000 (16:58 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 10 Sep 2018 20:51:13 +0000 (16:51 -0400)
get/set_property method should have been static.

gst/debugutils/gstwatchdog.c

index 1824cbf..cb1d901 100644 (file)
@@ -129,7 +129,7 @@ gst_watchdog_init (GstWatchdog * watchdog)
 {
 }
 
-void
+static void
 gst_watchdog_set_property (GObject * object, guint property_id,
     const GValue * value, GParamSpec * pspec)
 {
@@ -150,7 +150,7 @@ gst_watchdog_set_property (GObject * object, guint property_id,
   }
 }
 
-void
+static void
 gst_watchdog_get_property (GObject * object, guint property_id,
     GValue * value, GParamSpec * pspec)
 {
@@ -417,6 +417,4 @@ gst_watchdog_change_state (GstElement * element, GstStateChange transition)
   }
 
   return ret;
-
-
 }