aboutsummaryrefslogtreecommitdiff
path: root/source/gfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/gfx.h')
-rw-r--r--source/gfx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gfx.h b/source/gfx.h
index 1b545f7..8280987 100644
--- a/source/gfx.h
+++ b/source/gfx.h
@@ -245,9 +245,9 @@ GFX.X2 [((((C1) & RGB_REMOVE_LOW_BITS_MASK) + \
((C2) & RGB_REMOVE_LOW_BITS_MASK)) >> 1) + \
((C1) & (C2) & RGB_LOW_BITS_MASK)]
#else
-inline uint16 COLOR_ADD (uint16, uint16);
+static inline uint16 COLOR_ADD (uint16, uint16);
-inline uint16 COLOR_ADD (uint16 C1, uint16 C2)
+static inline uint16 COLOR_ADD (uint16 C1, uint16 C2)
{
if (C1 == 0)
return C2;