Fixed a few "-Wstrict-prototypes" warnings

This commit is contained in:
Petar Popovic authored and Sam Lantinga committed 2025-07-26 11:12:40 -07:00
1 parent e6d200e51c
commit 2c2c2c5a48
4 files changed
+8 -8

No files matched your search

+2 -2
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();