chiark
/
gitweb
/
~bjharris
/
bedstead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d020abf
)
Looks like I need "static inline" for modern GCC.
author
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 5 Nov 2016 13:50:19 +0000
(13:50 +0000)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 5 Nov 2016 13:50:19 +0000
(13:50 +0000)
bedstead.c
patch
|
blob
|
history
diff --git
a/bedstead.c
b/bedstead.c
index 0e46eafafaf4b25a06f0ffdd90459554d02ceeb9..68494e83b165f4456c54178acdf96cf0848fa433 100644
(file)
--- 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)) ||