osx: fix compiler warnings

Added void parameter to avoid old-style definition warning.
Added -Wno-aggregate-return flag to avoid erroneous aggregate return warning.

https://bugzilla.gnome.org/show_bug.cgi?id=613663
This commit is contained in:
Tristan Matthews 2010-03-23 02:38:43 -04:00 committed by Benjamin Otte
parent c4a9ed774e
commit 53370fc899
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ static void
gst_osx_audio_element_class_init (GstOsxAudioElementInterface * klass);
GType
gst_osx_audio_element_get_type ()
gst_osx_audio_element_get_type (void)
{
static GType gst_osxaudioelement_type = 0;

View file

@ -14,6 +14,6 @@ libgstosxvideosink_la_LIBADD = \
libgstosxvideosink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -Wl,-framework -Wl,Cocoa -Wl,-framework -Wl,QuickTime -Wl,-framework -Wl,OpenGL
libgstosxvideosink_la_LIBTOOLFLAGS = --tag=disable-static
AM_OBJCFLAGS=$(CFLAGS) $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS)
AM_OBJCFLAGS=$(CFLAGS) $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) -Wno-aggregate-return
noinst_HEADERS = osxvideosink.h cocoawindow.h