From 3342b1679e3f08976a76726ef05ac1dee08cbe3a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 17 Mar 2010 18:23:00 +0100 Subject: Add -Wmissing-declarations -Wmissing-prototypes warning flags And fix all the warnings. --- gst/goom2k1/filters.c | 4 ++-- gst/goom2k1/filters.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/goom2k1') 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); -- cgit v1.2.1