Commit 7f09b687 authored by David Schleef's avatar David Schleef
Browse files

Fix prototypes (trivial)

Original commit message from CVS:
Fix prototypes (trivial)
parent e9bae927
......@@ -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");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment