Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 12, 2010
1 parent 150a13c commit 5c3d68d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions include/SDL_clipboard.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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++ */
Expand Down
2 changes: 1 addition & 1 deletion src/events/SDL_clipboardevents.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@




int int
SDL_SendClipboardUpdate() SDL_SendClipboardUpdate(void)
{ {
int posted; int posted;


Expand Down
2 changes: 1 addition & 1 deletion src/events/SDL_clipboardevents_c.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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 */


Expand Down
4 changes: 2 additions & 2 deletions src/video/SDL_clipboard.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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();


Expand All @@ -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();


Expand Down

0 comments on commit 5c3d68d

Please sign in to comment.