summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-03-15 20:07:46 +0000
committertron <tron@openttd.org>2005-03-15 20:07:46 +0000
commitdad3d1240664dc6df0b9b26e6019d7f72f57ce0f (patch)
treed97c7d5bba51455bea09c359034c61307367d1ca
parent42cd07a2e2fb0b08d983f2196d17e3990582a4db (diff)
downloadopenttd-dad3d1240664dc6df0b9b26e6019d7f72f57ce0f.tar.xz
(svn r2017) Explicitly mark SlReadByte as 'inline'
-rw-r--r--saveload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/saveload.c b/saveload.c
index c511aee32..318519d86 100644
--- a/saveload.c
+++ b/saveload.c
@@ -60,7 +60,7 @@ static void NORETURN SlError(const char *msg)
longjmp(_sl.excpt, 0);
}
-int SlReadByte(void)
+inline int SlReadByte(void)
{
if (_sl.bufp == _sl.bufe) SlReadFill();
return *_sl.bufp++;