Fixed a few "-Wstrict-prototypes" warnings

This commit is contained in:
Petar Popovic
2025-07-26 19:03:54 +02:00
committed by Sam Lantinga
parent e6d200e51c
commit 2c2c2c5a48
4 changed files with 8 additions and 8 deletions

View File

@@ -32,7 +32,7 @@
#define UnityLauncherAPI_DBUS_INTERFACE "com.canonical.Unity.LauncherEntry"
#define UnityLauncherAPI_DBUS_SIGNAL "Update"
static char *GetDBUSObjectPath()
static char *GetDBUSObjectPath(void)
{
char *app_id = SDL_strdup(SDL_GetAppID());
@@ -62,7 +62,7 @@ static char *GetDBUSObjectPath()
return SDL_strdup(path);
}
static char *GetAppDesktopPath()
static char *GetAppDesktopPath(void)
{
const char *desktop_suffix = ".desktop";
const char *app_id = SDL_GetAppID();