diff options
author | tron <tron@openttd.org> | 2004-12-03 07:43:00 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-12-03 07:43:00 +0000 |
commit | c00258237e0fd63d23fb2015c78c070b72b2e9d9 (patch) | |
tree | e39a57439be0a2878fec3147140ca4e16f6b00e6 /settings_gui.c | |
parent | b7f0b278fbff5721557c2f7d06f0f1892ed7bd39 (diff) | |
download | openttd-c00258237e0fd63d23fb2015c78c070b72b2e9d9.tar.xz |
(svn r907) Sprinkle holy ANSI water:
- "inline" must before the return type (and after "static")
- Initialise all struct members, not just some of them
- Remove (one) spurious semicolon
Diffstat (limited to 'settings_gui.c')
-rw-r--r-- | settings_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings_gui.c b/settings_gui.c index 362576e54..7d053840c 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -288,7 +288,7 @@ static const GameSettingData _game_setting_info[] = { {0,2,1,STR_6839_PERMISSIVE}, }; -static bool FORCEINLINE GetBitAndShift(uint32 *b) +static inline bool GetBitAndShift(uint32 *b) { uint32 x = *b; *b >>= 1; |