Fix prototypes (trivial)
authorDavid Schleef <ds@schleef.org>
Sat, 11 Jan 2003 00:29:19 +0000 (00:29 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 11 Jan 2003 00:29:19 +0000 (00:29 +0000)
Original commit message from CVS:
Fix prototypes (trivial)

libs/gst/control/dparammanager.h
libs/gst/control/unitconvert.h
tests/lat.c

index ec11631..c3277e7 100644 (file)
@@ -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);
index c083619..3acea45 100644 (file)
@@ -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);
index bccfddf..12ce41a 100644 (file)
@@ -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");