Remove unnecessary SDLCALL from xpm declarations

This commit is contained in:
Marco Z 2018-11-14 08:06:07 -05:00
parent f3b59c1731
commit 51768e7dd1

View file

@ -44,10 +44,14 @@
#if 0 #if 0
#include "SDL_image.h" #include "SDL_image.h"
#else
extern SDLCALL int SDLCALL IMG_isXPM(SDL_RWops *src); extern SDLCALL int SDLCALL IMG_isXPM(SDL_RWops *src);
extern SDLCALL SDL_Surface *IMG_LoadXPM_RW(SDL_RWops *src); extern SDLCALL SDL_Surface *IMG_LoadXPM_RW(SDL_RWops *src);
extern SDLCALL SDL_Surface * SDLCALL IMG_ReadXPMFromArray(const char **xpm); extern SDLCALL SDL_Surface * SDLCALL IMG_ReadXPMFromArray(const char **xpm);
#else
extern int IMG_isXPM(SDL_RWops *src);
extern SDL_Surface *IMG_LoadXPM_RW(SDL_RWops *src);
extern SDL_Surface *IMG_ReadXPMFromArray(const char **xpm);
#define IMG_SetError SDL_SetError #define IMG_SetError SDL_SetError
#define IMG_GetError SDL_GetError #define IMG_GetError SDL_GetError
#endif #endif