aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2011-04-11 23:32:41 +0000
committerDimitri Sokolyuk <demon@dim13.org>2011-04-11 23:32:41 +0000
commitfae767cecb5f6b94f301e4c0f7b15aae292f6b32 (patch)
treeab8ac5200a60acc985ec9b8cf4dea1534bd549b2
parentfce59d949c0a4767009a9db94f0af0903ff31be1 (diff)
minor fix inline def
-rw-r--r--spectrogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spectrogram.c b/spectrogram.c
index 063bbfb..c395a3c 100644
--- a/spectrogram.c
+++ b/spectrogram.c
@@ -192,7 +192,7 @@ init_factor(int *scala, int w)
}
#if 1
-void inline
+inline void
drawpixel(SDL_Surface *s, int x, int y, SDL_Color *c)
{
Uint32 *buf = (Uint32 *)s->pixels + y * (s->pitch >> 2) + x;