mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
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:
parent
658690c296
commit
80de4392ce
1 changed files with 1 additions and 4 deletions
|
@ -23,6 +23,7 @@
|
||||||
#define __GST_VALIDATE_INTERNAL_H__
|
#define __GST_VALIDATE_INTERNAL_H__
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
#include "gst-validate-scenario.h"
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_EXTERN (gstvalidate_debug);
|
GST_DEBUG_CATEGORY_EXTERN (gstvalidate_debug);
|
||||||
#define GST_CAT_DEFAULT gstvalidate_debug
|
#define GST_CAT_DEFAULT gstvalidate_debug
|
||||||
|
@ -30,11 +31,7 @@ GST_DEBUG_CATEGORY_EXTERN (gstvalidate_debug);
|
||||||
extern GRegex *newline_regex;
|
extern GRegex *newline_regex;
|
||||||
|
|
||||||
|
|
||||||
typedef struct _GstValidateScenario GstValidateScenario;
|
|
||||||
typedef struct _GstValidateAction GstValidateAction;
|
|
||||||
typedef struct _GstValidateActionParameter GstValidateActionParameter;
|
|
||||||
typedef struct _GstValidateActionType GstValidateActionType;
|
typedef struct _GstValidateActionType GstValidateActionType;
|
||||||
typedef gboolean (*GstValidateExecuteAction) (GstValidateScenario * scenario, GstValidateAction * action);
|
|
||||||
|
|
||||||
struct _GstValidateActionType
|
struct _GstValidateActionType
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue