diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-11-27 16:42:28 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-11-27 16:42:28 +0100 |
commit | d4c4740bcf0fe25a0b3e8a37c431accfc8edb970 (patch) | |
tree | 4352518983bcfc541345090f9fb2367a58b6c309 | |
parent | 7b2e6463e67076abc82028fe3fdb400492983b8d (diff) | |
download | uGFX-d4c4740bcf0fe25a0b3e8a37c431accfc8edb970.tar.gz uGFX-d4c4740bcf0fe25a0b3e8a37c431accfc8edb970.tar.bz2 uGFX-d4c4740bcf0fe25a0b3e8a37c431accfc8edb970.zip |
INLINE -> inline
-rw-r--r-- | src/gdisp/gdisp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c index 1eb5a41b..de68e876 100644 --- a/src/gdisp/gdisp.c +++ b/src/gdisp/gdisp.c @@ -20,11 +20,11 @@ #include "gdisp/lld/gdisp_lld.h" #if 1 - #undef INLINE - #define INLINE inline + #undef inline + #define inline inline #else - #undef INLINE - #define INLINE + #undef inline + #define inline #endif // Number of milliseconds for the startup logo - 0 means disabled. @@ -89,7 +89,7 @@ GDisplay *GDISP = GDisplayArray; /*==========================================================================*/ #if GDISP_HARDWARE_STREAM_POS && GDISP_HARDWARE_STREAM_WRITE - static INLINE void setglobalwindow(GDisplay *g) { + static inline void setglobalwindow(GDisplay *g) { coord_t x, y; x = g->p.x; y = g->p.y; g->p.x = g->p.y = 0; @@ -125,7 +125,7 @@ GDisplay *GDISP = GDisplayArray; // Parameters: x,y // Alters: cx, cy (if using streaming) // Does not clip -static INLINE void drawpixel(GDisplay *g) { +static inline void drawpixel(GDisplay *g) { // Best is hardware accelerated pixel draw #if GDISP_HARDWARE_DRAWPIXEL @@ -172,7 +172,7 @@ static INLINE void drawpixel(GDisplay *g) { // Parameters: x,y // Alters: cx, cy (if using streaming) #if NEED_CLIPPING - static INLINE void drawpixel_clip(GDisplay *g) { + static inline void drawpixel_clip(GDisplay *g) { #if GDISP_HARDWARE_CLIP == HARDWARE_AUTODETECT if (!g->vmt->setclip) #endif @@ -191,7 +191,7 @@ static INLINE void drawpixel(GDisplay *g) { // Alters: nothing // Note: This is not clipped // Resets the streaming area if GDISP_HARDWARE_STREAM_WRITE and GDISP_HARDWARE_STREAM_POS is set. -static INLINE void fillarea(GDisplay *g) { +static inline void fillarea(GDisplay *g) { // Best is hardware accelerated area fill #if GDISP_HARDWARE_FILLS |