Fixed compile warnings

This commit is contained in:
Sam Lantinga
2010-07-12 00:35:14 -07:00
parent c9dcaef79e
commit 6540320beb
4 changed files with 6 additions and 6 deletions

View File

@@ -53,14 +53,14 @@ extern DECLSPEC int SDLCALL SDL_SetClipboardText(const char *text);
*
* \sa SDL_SetClipboardText()
*/
extern DECLSPEC char * SDLCALL SDL_GetClipboardText();
extern DECLSPEC char * SDLCALL SDL_GetClipboardText(void);
/**
* \brief Returns whether the clipboard has text
*
* \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++ */

View File

@@ -29,7 +29,7 @@
int
SDL_SendClipboardUpdate()
SDL_SendClipboardUpdate(void)
{
int posted;

View File

@@ -24,7 +24,7 @@
#ifndef _SDL_clipboardevents_c_h
#define _SDL_clipboardevents_c_h
extern int SDL_SendClipboardUpdate();
extern int SDL_SendClipboardUpdate(void);
#endif /* _SDL_clipboardevents_c_h */

View File

@@ -42,7 +42,7 @@ SDL_SetClipboardText(const char *text)
}
char *
SDL_GetClipboardText()
SDL_GetClipboardText(void)
{
SDL_VideoDevice *_this = SDL_GetVideoDevice();
@@ -58,7 +58,7 @@ SDL_GetClipboardText()
}
SDL_bool
SDL_HasClipboardText()
SDL_HasClipboardText(void)
{
SDL_VideoDevice *_this = SDL_GetVideoDevice();