Fixed compile warnings
This commit is contained in:
parent
57180a1c7e
commit
0363b757a8
4 changed files with 6 additions and 6 deletions
|
@ -53,14 +53,14 @@ extern DECLSPEC int SDLCALL SDL_SetClipboardText(const char *text);
|
||||||
*
|
*
|
||||||
* \sa SDL_SetClipboardText()
|
* \sa SDL_SetClipboardText()
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC char * SDLCALL SDL_GetClipboardText();
|
extern DECLSPEC char * SDLCALL SDL_GetClipboardText(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Returns whether the clipboard has text
|
* \brief Returns whether the clipboard has text
|
||||||
*
|
*
|
||||||
* \sa SDL_GetClipboardText()
|
* \sa SDL_GetClipboardText()
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText();
|
extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void);
|
||||||
|
|
||||||
|
|
||||||
/* Ends C function definitions when using C++ */
|
/* Ends C function definitions when using C++ */
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
SDL_SendClipboardUpdate()
|
SDL_SendClipboardUpdate(void)
|
||||||
{
|
{
|
||||||
int posted;
|
int posted;
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#ifndef _SDL_clipboardevents_c_h
|
#ifndef _SDL_clipboardevents_c_h
|
||||||
#define _SDL_clipboardevents_c_h
|
#define _SDL_clipboardevents_c_h
|
||||||
|
|
||||||
extern int SDL_SendClipboardUpdate();
|
extern int SDL_SendClipboardUpdate(void);
|
||||||
|
|
||||||
#endif /* _SDL_clipboardevents_c_h */
|
#endif /* _SDL_clipboardevents_c_h */
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ SDL_SetClipboardText(const char *text)
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
char *
|
||||||
SDL_GetClipboardText()
|
SDL_GetClipboardText(void)
|
||||||
{
|
{
|
||||||
SDL_VideoDevice *_this = SDL_GetVideoDevice();
|
SDL_VideoDevice *_this = SDL_GetVideoDevice();
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ SDL_GetClipboardText()
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_bool
|
SDL_bool
|
||||||
SDL_HasClipboardText()
|
SDL_HasClipboardText(void)
|
||||||
{
|
{
|
||||||
SDL_VideoDevice *_this = SDL_GetVideoDevice();
|
SDL_VideoDevice *_this = SDL_GetVideoDevice();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue