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
commitbb88bc5a9758a8d6ff272c723f5ca23a18ff8542 (patch)
treed97c7d5bba51455bea09c359034c61307367d1ca
parenta55be6ebef18d2f0143dfdacc1223bbf6ce4c1cd (diff)
downloadopenttd-bb88bc5a9758a8d6ff272c723f5ca23a18ff8542.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++;