From 8a62726a379f8ee035a2e61bf7f503f0aca387cd Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 6 Apr 2002 18:14:31 +0000 Subject: fixed warnings in /ext added mikmod_types.h to get it done Original commit message from CVS: fixed warnings in /ext added mikmod_types.h to get it done --- ext/audiofile/gstafsrc.c | 4 ++-- ext/hermes/yuv2rgb.c | 13 ------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c index 657372e7..5f9d4dbe 100644 --- a/ext/audiofile/gstafsrc.c +++ b/ext/audiofile/gstafsrc.c @@ -76,7 +76,7 @@ GST_PADTEMPLATE_FACTORY (afsrc_src_factory, #define GST_TYPE_AFSRC_TYPES (gst_afsrc_types_get_type()) /* FIXME: fix the string ints to be string-converted from the audiofile.h types */ - +/* defined but not used static GType gst_afsrc_types_get_type (void) { @@ -96,7 +96,7 @@ gst_afsrc_types_get_type (void) } return afsrc_types_type; } - +*/ static void gst_afsrc_class_init (GstAFSrcClass *klass); static void gst_afsrc_init (GstAFSrc *afsrc); diff --git a/ext/hermes/yuv2rgb.c b/ext/hermes/yuv2rgb.c index b1fb0008..ec922d89 100644 --- a/ext/hermes/yuv2rgb.c +++ b/ext/hermes/yuv2rgb.c @@ -275,19 +275,6 @@ unsigned long a; return(number_of_bits_set(a >> 1)); } -/* - * Shift the 0s in the least significant end out of the longword. - * Low performance, do not call often. - */ -static unsigned long -shifted_down(a) -unsigned long a; -{ - if(!a) return 0; - if(a & 1) return a; - return a >> 1; -} - /* * How many 0 bits are there at most significant end of longword. * Low performance, do not call often. -- cgit v1.2.1