summaryrefslogtreecommitdiff
path: root/gst/goom2k1
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-17 18:23:00 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-17 18:23:28 +0100
commit3342b1679e3f08976a76726ef05ac1dee08cbe3a (patch)
treeb645889694e6bec580ec15a872180b285f92e804 /gst/goom2k1
parent7e363149f323f745b4147aa469208bdbb8465db6 (diff)
downloadgstreamer-plugins-good-3342b1679e3f08976a76726ef05ac1dee08cbe3a.tar.gz
Add -Wmissing-declarations -Wmissing-prototypes warning flags
And fix all the warnings.
Diffstat (limited to 'gst/goom2k1')
-rw-r--r--gst/goom2k1/filters.c4
-rw-r--r--gst/goom2k1/filters.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/gst/goom2k1/filters.c b/gst/goom2k1/filters.c
index b898e89cd..1b1ea13ef 100644
--- a/gst/goom2k1/filters.c
+++ b/gst/goom2k1/filters.c
@@ -64,7 +64,7 @@ static int firstTime = 1;
static int sintable[0xffff];
ZoomFilterData *
-zoomFilterNew ()
+zoomFilterNew (void)
{
ZoomFilterData *zf = malloc (sizeof (ZoomFilterData));
@@ -106,7 +106,7 @@ ShiftRight (int x, const unsigned char s)
px et py indique la nouvelle position (en sqrtperte ieme de pixel)
(valeur * 16)
*/
-void
+static void
calculatePXandPY (GoomData * gd, int x, int y, int *px, int *py)
{
ZoomFilterData *zf = gd->zfd;
diff --git a/gst/goom2k1/filters.h b/gst/goom2k1/filters.h
index 65eb3e252..8c6f62e66 100644
--- a/gst/goom2k1/filters.h
+++ b/gst/goom2k1/filters.h
@@ -55,7 +55,7 @@ Uint middleX,
Uint middleY);
*/
-ZoomFilterData *zoomFilterNew ();
+ZoomFilterData *zoomFilterNew (void);
void zoomFilterDestroy (ZoomFilterData *zf);
void zoomFilterFastRGB (GoomData *goomdata, ZoomFilterData *zf,
int zfd_update);