mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
Fix warnings with latest devkitPro release
The warning was: function is static but used in inline function which is not static.
This commit is contained in:
parent
1a9d097cb4
commit
3dbee76230
1 changed files with 1 additions and 5 deletions
|
@ -183,18 +183,14 @@ GRR_EXTERN void *xfb[2] GRR_INITS(NULL, NULL);
|
||||||
GRR_EXTERN u32 fb GRR_INIT(0);
|
GRR_EXTERN u32 fb GRR_INIT(0);
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
// procedure and function prototypes
|
// procedure and function prototypes
|
||||||
// Inline function handling - http://www.greenend.org.uk/rjk/2003/03/inline.html
|
// Inline function handling
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
#include "grrlib/GRRLIB__lib.h"
|
#include "grrlib/GRRLIB__lib.h"
|
||||||
|
|
||||||
#if defined __GRRLIB_CORE__
|
#if defined __GRRLIB_CORE__
|
||||||
# define INLINE
|
# define INLINE
|
||||||
#else
|
#else
|
||||||
# if __GNUC__ && !__GNUC_STDC_INLINE__
|
|
||||||
# define INLINE static inline
|
# define INLINE static inline
|
||||||
# else
|
|
||||||
# define INLINE inline
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
#include "grrlib/GRRLIB__inline.h"
|
#include "grrlib/GRRLIB__inline.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue