mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
Fix prototypes (trivial)
Original commit message from CVS: Fix prototypes (trivial)
This commit is contained in:
parent
e9bae927c1
commit
7f09b68704
3 changed files with 4 additions and 4 deletions
|
@ -136,7 +136,7 @@ struct _GstDParamAsyncToUpdate {
|
|||
|
||||
#define GST_DPMAN_CALLBACK_UPDATE(dpwrap, value) ((dpwrap->update_func)(value, dpwrap->update_data))
|
||||
|
||||
void _gst_dpman_initialize();
|
||||
void _gst_dpman_initialize(void);
|
||||
GType gst_dpman_get_type (void);
|
||||
GstDParamManager* gst_dpman_new (gchar *name, GstElement *parent);
|
||||
void gst_dpman_set_parent (GstDParamManager *dpman, GstElement *parent);
|
||||
|
|
|
@ -54,7 +54,7 @@ struct _GstUnitConvertClass {
|
|||
/* signal callbacks */
|
||||
};
|
||||
|
||||
GstUnitConvert* gst_unitconv_new ();
|
||||
GstUnitConvert* gst_unitconv_new (void);
|
||||
void _gst_unitconv_initialize (void);
|
||||
|
||||
gboolean gst_unitconv_set_convert_units(GstUnitConvert *unitconv, gchar *from_unit_named, gchar *to_unit_named);
|
||||
|
|
|
@ -54,7 +54,7 @@ GstElement *identity_add(GstPipeline *pipeline, GstElement *first, int count) {
|
|||
return last;
|
||||
}
|
||||
|
||||
GstElement *fakesrc() {
|
||||
GstElement *fakesrc(void) {
|
||||
GstElement *src;
|
||||
|
||||
src = gst_element_factory_make("fakesrc","src");
|
||||
|
@ -67,7 +67,7 @@ GstElement *fakesrc() {
|
|||
return src;
|
||||
}
|
||||
|
||||
GstElement *fakesink() {
|
||||
GstElement *fakesink(void) {
|
||||
GstElement *sink;
|
||||
|
||||
sink = gst_element_factory_make("fakesink","fakesink");
|
||||
|
|
Loading…
Reference in a new issue