From: Ben Harris Date: Sat, 5 Nov 2016 13:50:19 +0000 (+0000) Subject: Looks like I need "static inline" for modern GCC. X-Git-Tag: bedstead-001.002~27 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=e0add1215516b0d46979dda66c54f52a90acde34;p=bedstead.git Looks like I need "static inline" for modern GCC. --- diff --git a/bedstead.c b/bedstead.c index 0e46eaf..68494e8 100644 --- a/bedstead.c +++ b/bedstead.c @@ -1094,7 +1094,7 @@ struct glyph { static void dolookups(struct glyph const *); -inline int +static inline int getpix(char const data[YSIZE], int x, int y, unsigned flags) { if (y == 5 && ((x <= 0 && (flags & ALX)) ||