Commit 0363b757 authored by Sam Lantinga's avatar Sam Lantinga

Fixed compile warnings

parent 57180a1c
...@@ -53,14 +53,14 @@ extern DECLSPEC int SDLCALL SDL_SetClipboardText(const char *text); ...@@ -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 @@ ...@@ -29,7 +29,7 @@
int int
SDL_SendClipboardUpdate() SDL_SendClipboardUpdate(void)
{ {
int posted; int posted;
......
...@@ -24,7 +24,7 @@ ...@@ -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) ...@@ -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() ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment