Fixed a few "-Wstrict-prototypes" warnings
This commit is contained in:
committed by
Sam Lantinga
parent
e6d200e51c
commit
2c2c2c5a48
@@ -1470,7 +1470,7 @@ static void ALSA_udev_callback(SDL_UDEV_deviceevent udev_type, int udev_class, c
|
||||
}
|
||||
}
|
||||
|
||||
static bool ALSA_start_udev()
|
||||
static bool ALSA_start_udev(void)
|
||||
{
|
||||
udev_initialized = SDL_UDEV_Init();
|
||||
if (udev_initialized) {
|
||||
@@ -1483,7 +1483,7 @@ static bool ALSA_start_udev()
|
||||
return udev_initialized;
|
||||
}
|
||||
|
||||
static void ALSA_stop_udev()
|
||||
static void ALSA_stop_udev(void)
|
||||
{
|
||||
if (udev_initialized) {
|
||||
SDL_UDEV_DelCallback(ALSA_udev_callback);
|
||||
@@ -1494,12 +1494,12 @@ static void ALSA_stop_udev()
|
||||
|
||||
#else
|
||||
|
||||
static bool ALSA_start_udev()
|
||||
static bool ALSA_start_udev(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static void ALSA_stop_udev()
|
||||
static void ALSA_stop_udev(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user