From: Olivier CrĂȘte Date: Thu, 3 Oct 2013 22:14:18 +0000 (-0400) Subject: gst-validate-scenario: Only typedef the struct once X-Git-Tag: 1.19.3~491^2~2270 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75e1f5040a2fdd744710023bf0b7a7f4d2c65a27;p=platform%2Fupstream%2Fgstreamer.git gst-validate-scenario: Only typedef the struct once Some gcc versions don't like the typedef being done twice --- diff --git a/validate/gst/validate/gst-validate-scenario.h b/validate/gst/validate/gst-validate-scenario.h index 5070d2c..6e6407b 100644 --- a/validate/gst/validate/gst-validate-scenario.h +++ b/validate/gst/validate/gst-validate-scenario.h @@ -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 {