Unified usage of the 'inline' attribute for functions

Autoconf provides the necessary stuff to detect if inline keyword
is supported, and to detect special syntaxes, so let's use this
and remove the multiple local definitions, this makes code simpler.
This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2013-05-11 00:17:27 +01:00
1 parent 7f6699ffca
commit 90d24a1648
8 files changed
+11 -28

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ void RClearImage(RImage * image, const RColor * color)
}
}
static __inline__ unsigned char clip(int c)
static inline unsigned char clip(int c)
{
if (c > 255)
c = 255;