Fixed compile warnings
authorSam Lantinga
Mon, 12 Jul 2010 00:35:14 -0700
changeset 4506b577f47379f3
parent 4505 f78a602ac135
child 4507 dbf3fa541096
Fixed compile warnings
include/SDL_clipboard.h
src/events/SDL_clipboardevents.c
src/events/SDL_clipboardevents_c.h
src/video/SDL_clipboard.c
     1.1 --- a/include/SDL_clipboard.h	Mon Jul 12 00:33:24 2010 -0700
     1.2 +++ b/include/SDL_clipboard.h	Mon Jul 12 00:35:14 2010 -0700
     1.3 @@ -53,14 +53,14 @@
     1.4   *
     1.5   * \sa SDL_SetClipboardText()
     1.6   */
     1.7 -extern DECLSPEC char * SDLCALL SDL_GetClipboardText();
     1.8 +extern DECLSPEC char * SDLCALL SDL_GetClipboardText(void);
     1.9  
    1.10  /**
    1.11   * \brief Returns whether the clipboard has text
    1.12   *
    1.13   * \sa SDL_GetClipboardText()
    1.14   */
    1.15 -extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText();
    1.16 +extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void);
    1.17  
    1.18  
    1.19  /* Ends C function definitions when using C++ */
     2.1 --- a/src/events/SDL_clipboardevents.c	Mon Jul 12 00:33:24 2010 -0700
     2.2 +++ b/src/events/SDL_clipboardevents.c	Mon Jul 12 00:35:14 2010 -0700
     2.3 @@ -29,7 +29,7 @@
     2.4  
     2.5  
     2.6  int
     2.7 -SDL_SendClipboardUpdate()
     2.8 +SDL_SendClipboardUpdate(void)
     2.9  {
    2.10      int posted;
    2.11  
     3.1 --- a/src/events/SDL_clipboardevents_c.h	Mon Jul 12 00:33:24 2010 -0700
     3.2 +++ b/src/events/SDL_clipboardevents_c.h	Mon Jul 12 00:35:14 2010 -0700
     3.3 @@ -24,7 +24,7 @@
     3.4  #ifndef _SDL_clipboardevents_c_h
     3.5  #define _SDL_clipboardevents_c_h
     3.6  
     3.7 -extern int SDL_SendClipboardUpdate();
     3.8 +extern int SDL_SendClipboardUpdate(void);
     3.9  
    3.10  #endif /* _SDL_clipboardevents_c_h */
    3.11  
     4.1 --- a/src/video/SDL_clipboard.c	Mon Jul 12 00:33:24 2010 -0700
     4.2 +++ b/src/video/SDL_clipboard.c	Mon Jul 12 00:35:14 2010 -0700
     4.3 @@ -42,7 +42,7 @@
     4.4  }
     4.5  
     4.6  char *
     4.7 -SDL_GetClipboardText()
     4.8 +SDL_GetClipboardText(void)
     4.9  {
    4.10      SDL_VideoDevice *_this = SDL_GetVideoDevice();
    4.11  
    4.12 @@ -58,7 +58,7 @@
    4.13  }
    4.14  
    4.15  SDL_bool
    4.16 -SDL_HasClipboardText()
    4.17 +SDL_HasClipboardText(void)
    4.18  {
    4.19      SDL_VideoDevice *_this = SDL_GetVideoDevice();
    4.20