Commit a72e695a authored by Michael Smith's avatar Michael Smith

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.
parent 11c39abc
2005-11-22 Michael Smith <msmith@fluendo.com>
* gst/goom/filters.c:
* gst/goom/graphic.h:
Fix compilation by making some functions static inline instead of
extern inline, matching the way they're used.
2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_init),
......
......@@ -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;
......
......@@ -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*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment