Browse Source

Fixed prototype definition

Sam Lantinga 2 years ago
parent
commit
dda474504f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL3/SDL_clipboard.h

+ 1 - 1
include/SDL3/SDL_clipboard.h

@@ -201,7 +201,7 @@ extern DECLSPEC int SDLCALL SDL_SetClipboardData(SDL_ClipboardDataCallback callb
  *
  * \sa SDL_SetClipboardData
  */
-extern DECLSPEC int SDLCALL SDL_ClearClipboardData();
+extern DECLSPEC int SDLCALL SDL_ClearClipboardData(void);
 
 /**
  * Get the data from clipboard for a given mime type