# HG changeset patch # User Sam Lantinga # Date 1278920114 25200 # Node ID b577f47379f34e850de23661af9446e11940ef98 # Parent f78a602ac135a3490ff6a701a264f8cd8397e024 Fixed compile warnings diff -r f78a602ac135 -r b577f47379f3 include/SDL_clipboard.h --- a/include/SDL_clipboard.h Mon Jul 12 00:33:24 2010 -0700 +++ b/include/SDL_clipboard.h Mon Jul 12 00:35:14 2010 -0700 @@ -53,14 +53,14 @@ * * \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++ */ diff -r f78a602ac135 -r b577f47379f3 src/events/SDL_clipboardevents.c --- a/src/events/SDL_clipboardevents.c Mon Jul 12 00:33:24 2010 -0700 +++ b/src/events/SDL_clipboardevents.c Mon Jul 12 00:35:14 2010 -0700 @@ -29,7 +29,7 @@ int -SDL_SendClipboardUpdate() +SDL_SendClipboardUpdate(void) { int posted; diff -r f78a602ac135 -r b577f47379f3 src/events/SDL_clipboardevents_c.h --- a/src/events/SDL_clipboardevents_c.h Mon Jul 12 00:33:24 2010 -0700 +++ b/src/events/SDL_clipboardevents_c.h Mon Jul 12 00:35:14 2010 -0700 @@ -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 */ diff -r f78a602ac135 -r b577f47379f3 src/video/SDL_clipboard.c --- a/src/video/SDL_clipboard.c Mon Jul 12 00:33:24 2010 -0700 +++ b/src/video/SDL_clipboard.c Mon Jul 12 00:35:14 2010 -0700 @@ -42,7 +42,7 @@ } char * -SDL_GetClipboardText() +SDL_GetClipboardText(void) { SDL_VideoDevice *_this = SDL_GetVideoDevice(); @@ -58,7 +58,7 @@ } SDL_bool -SDL_HasClipboardText() +SDL_HasClipboardText(void) { SDL_VideoDevice *_this = SDL_GetVideoDevice();