gst-validate-scenario: Only typedef the struct once
authorOlivier Crête <olivier.crete@collabora.com>
Thu, 3 Oct 2013 22:14:18 +0000 (18:14 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Thu, 3 Oct 2013 22:14:29 +0000 (18:14 -0400)
Some gcc versions don't like the typedef being done twice

validate/gst/validate/gst-validate-scenario.h

index 5070d2c..6e6407b 100644 (file)
@@ -43,14 +43,14 @@ typedef struct _GstValidateAction        GstValidateAction;
 
 typedef gboolean (*GstValidateExecuteAction) (GstValidateScenario * scenario, GstValidateAction * action);
 
-typedef struct _GstValidateAction
+struct _GstValidateAction
 {
   const gchar *type;
   const gchar *name;
   guint action_number;
   GstClockTime playback_time;
   GstStructure *structure;
-} GstValidateAction;
+};
 
 struct _GstValidateScenarioClass
 {