glslstage: remove typedefs from the header
authorMatthew Waters <matthew@centricular.com>
Fri, 30 Oct 2015 03:40:35 +0000 (14:40 +1100)
committerMatthew Waters <matthew@centricular.com>
Fri, 30 Oct 2015 03:40:35 +0000 (14:40 +1100)
They are already defined in the forward decleration header and defining them
more than once will give an error with OSX's clang about typedef redefinition
being a C11 feature.

gst-libs/gst/gl/gstglslstage.h

index be4ef3242de848cb6148df0991fec61d5fae68ca..69fbf2e41cd2ed2841a165a7e46a1feaff87f971 100644 (file)
 
 G_BEGIN_DECLS
 
-typedef struct _GstGLSLStage GstGLSLStage;
-typedef struct _GstGLSLStageClass GstGLSLStageClass;
-typedef struct _GstGLSLStagePrivate GstGLSLStagePrivate;
-
 #define GST_TYPE_GLSL_STAGE         (gst_glsl_stage_get_type())
 #define GST_GLSL_STAGE(o)           (G_TYPE_CHECK_INSTANCE_CAST((o), GST_TYPE_GLSL_STAGE, GstGLSLStage))
 #define GST_GLSL_STAGE_CLASS(k)     (G_TYPE_CHECK_CLASS((k), GST_TYPE_GLSL_STAGE, GstGLSLStageClass))