summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorMichael Smith <msmith@xiph.org>2005-11-22 22:35:57 +0000
committerMichael Smith <msmith@xiph.org>2005-11-22 22:35:57 +0000
commita72e695a1e3721fb9b7fcbe7c6bcb036cf4c2567 (patch)
tree3740345fcd938536517aae222b956de11b5de451 /gst
parent11c39abc9a99d5fcb0070988ffe0d773d9780875 (diff)
Fix for #321430: unresolved symbols due to incorrect linkage on inline functions in goom.
Original commit message from CVS: Fix for #321430: unresolved symbols due to incorrect linkage on inline functions in goom. Does not, however, fix the general crackheadedness of goom (global variables, oh my!); this should be moved to -bad.
Diffstat (limited to 'gst')
-rw-r--r--gst/goom/filters.c4
-rw-r--r--gst/goom/graphic.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/gst/goom/filters.c b/gst/goom/filters.c
index 076fedd9..16f8f532 100644
--- a/gst/goom/filters.c
+++ b/gst/goom/filters.c
@@ -182,7 +182,7 @@ calculatePXandPY (int x, int y, int *px, int *py)
/*#define _DEBUG */
-extern inline void
+static inline void
setPixelRGB (Uint * buffer, Uint x, Uint y, Color c)
{
/* buffer[ y*WIDTH + x ] = (c.r<<16)|(c.v<<8)|c.b */
@@ -220,7 +220,7 @@ setPixelRGB_ (Uint * buffer, Uint x, Color c)
-extern inline void
+static inline void
getPixelRGB (Uint * buffer, Uint x, Uint y, Color * c)
{
register unsigned char *tmp8;
diff --git a/gst/goom/graphic.h b/gst/goom/graphic.h
index 67503900..4154d7fd 100644
--- a/gst/goom/graphic.h
+++ b/gst/goom/graphic.h
@@ -20,7 +20,4 @@ extern const Color YELLOW;
extern const Color ORANGE;
extern const Color VIOLET;
-extern inline void setPixelRGB (Uint *buffer, Uint x, Uint y, Color c) ;
-extern inline void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) ;
-
#endif /*GRAPHIC_H*/