mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-05 23:10:58 +00:00
Fix various warnings: static /void / comma
This commit is contained in:
parent
c9aec268fa
commit
9b065bf54b
31 changed files with 76 additions and 75 deletions
|
@ -53,7 +53,7 @@ typedef struct FcitxClient
|
|||
|
||||
static FcitxClient fcitx_client;
|
||||
|
||||
static char *GetAppName()
|
||||
static char *GetAppName(void)
|
||||
{
|
||||
#if defined(__LINUX__) || defined(__FREEBSD__)
|
||||
char *spot;
|
||||
|
@ -367,7 +367,7 @@ static Uint32 Fcitx_ModState(void)
|
|||
}
|
||||
|
||||
SDL_bool
|
||||
SDL_Fcitx_Init()
|
||||
SDL_Fcitx_Init(void)
|
||||
{
|
||||
fcitx_client.dbus = SDL_DBus_GetContext();
|
||||
|
||||
|
@ -379,7 +379,7 @@ SDL_Fcitx_Init()
|
|||
return FcitxClientCreateIC(&fcitx_client);
|
||||
}
|
||||
|
||||
void SDL_Fcitx_Quit()
|
||||
void SDL_Fcitx_Quit(void)
|
||||
{
|
||||
FcitxClientICCallMethod(&fcitx_client, "DestroyIC");
|
||||
if (fcitx_client.ic_path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue