Fix compilation error (gcc 4.3.3 doesn't seem to like inline, or maybe it should be static inline)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@764 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud 2009-05-02 17:57:40 +00:00
parent e5f948076b
commit 358b0ea076

View File

@ -1293,7 +1293,7 @@ void Stretch_brush_preview(short x1, short y1, short x2, short y2)
}
/// Returns the minimum of 4 integers.
inline int Min4(int a,int b,int c,int d)
int Min4(int a,int b,int c,int d)
{
if (a<b)
if (c<d)
@ -1321,7 +1321,7 @@ void Pixel_in_distort_buffer(word x_pos,word y_pos,byte color)
}
/// Returns the maximum of 4 integers.
inline int Max4(int a,int b,int c,int d)
int Max4(int a,int b,int c,int d)
{
if (a>b)
if (c>d)