--- uae/src/include/drawing.h 2018/04/24 16:47:42 1.1.1.4 +++ uae/src/include/drawing.h 2018/04/24 16:49:01 1.1.1.5 @@ -47,7 +47,7 @@ extern int lores_factor, lores_shift, sprite_width; -static __inline__ int coord_hw_to_native_x (int x) +STATIC_INLINE int coord_hw_to_native_x (int x) { x -= DISPLAY_LEFT_SHIFT; return x << lores_shift; @@ -197,15 +197,15 @@ extern int diwfirstword,diwlastword; extern int inhibit_frame; -static __inline__ void set_inhibit_frame (int bit) +STATIC_INLINE void set_inhibit_frame (int bit) { inhibit_frame |= 1 << bit; } -static __inline__ void clear_inhibit_frame (int bit) +STATIC_INLINE void clear_inhibit_frame (int bit) { inhibit_frame &= ~(1 << bit); } -static __inline__ void toggle_inhibit_frame (int bit) +STATIC_INLINE void toggle_inhibit_frame (int bit) { inhibit_frame ^= ~(1 << bit); }