Commit 89973d6
龙虾机器人
C89 buildfix: Move variable declarations to block start in xmb_render()
Fixes C89 compliance issue where variables were declared mid-block:
- Move static retro_time_t last_scroll_time to function start
- Move static unsigned scroll_count to function start
- Move retro_time_t current_time to function start
- Move bool rapid_scroll to function start
This ensures all declarations are at the beginning of the block,
as required by the C89 standard.
Refs PR libretro#188281 parent 856a40c commit 89973d6
1 file changed
Lines changed: 11 additions & 7 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6847 | 6847 | | |
6848 | 6848 | | |
6849 | 6849 | | |
| 6850 | + | |
| 6851 | + | |
| 6852 | + | |
| 6853 | + | |
| 6854 | + | |
| 6855 | + | |
6850 | 6856 | | |
6851 | 6857 | | |
6852 | 6858 | | |
| |||
7152 | 7158 | | |
7153 | 7159 | | |
7154 | 7160 | | |
7155 | | - | |
7156 | | - | |
7157 | | - | |
7158 | | - | |
| 7161 | + | |
| 7162 | + | |
7159 | 7163 | | |
7160 | 7164 | | |
7161 | 7165 | | |
7162 | 7166 | | |
7163 | 7167 | | |
7164 | | - | |
| 7168 | + | |
7165 | 7169 | | |
7166 | | - | |
| 7170 | + | |
7167 | 7171 | | |
7168 | | - | |
| 7172 | + | |
7169 | 7173 | | |
7170 | 7174 | | |
7171 | 7175 | | |
| |||
0 commit comments