validate/private: Avoid double typdef

Instead just include required (public and local) header

gst-validate-scenario.h:43:44: error: redefinition of typedef 'GstValidateActionParameter' is a C11 feature [-Werror,-Wtypedef-redefinition]
This commit is contained in:
Edward Hervey 2014-09-12 09:49:35 +02:00
parent 658690c296
commit 80de4392ce

View file

@ -23,6 +23,7 @@
#define __GST_VALIDATE_INTERNAL_H__
#include <gst/gst.h>
#include "gst-validate-scenario.h"
GST_DEBUG_CATEGORY_EXTERN (gstvalidate_debug);
#define GST_CAT_DEFAULT gstvalidate_debug
@ -30,11 +31,7 @@ GST_DEBUG_CATEGORY_EXTERN (gstvalidate_debug);
extern GRegex *newline_regex;
typedef struct _GstValidateScenario GstValidateScenario;
typedef struct _GstValidateAction GstValidateAction;
typedef struct _GstValidateActionParameter GstValidateActionParameter;
typedef struct _GstValidateActionType GstValidateActionType;
typedef gboolean (*GstValidateExecuteAction) (GstValidateScenario * scenario, GstValidateAction * action);
struct _GstValidateActionType
{