summaryrefslogtreecommitdiff
path: root/applets/wncklet/wayland-backend.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-16 15:42:26 +0100
committerLuke from DC <[email protected]>2020-11-20 03:06:03 +0000
commit00ec02b4e3220b8b4a9e13d1799ea6b831642df2 (patch)
tree9421ea1c06a54af5df6b49f161736a1675c6d8a5 /applets/wncklet/wayland-backend.c
parent6068a01f72a034e04c77366727ef0be2fc0434cd (diff)
downloadmate-panel-00ec02b4e3220b8b4a9e13d1799ea6b831642df2.tar.bz2
mate-panel-00ec02b4e3220b8b4a9e13d1799ea6b831642df2.tar.xz
wncklet: function declaration isn't a prototype
Diffstat (limited to 'applets/wncklet/wayland-backend.c')
-rw-r--r--applets/wncklet/wayland-backend.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/applets/wncklet/wayland-backend.c b/applets/wncklet/wayland-backend.c
index 658eb6d3..a6f50a77 100644
--- a/applets/wncklet/wayland-backend.c
+++ b/applets/wncklet/wayland-backend.c
@@ -55,7 +55,6 @@ static struct wl_registry *wl_registry_global = NULL;
static uint32_t foreign_toplevel_manager_global_id = 0;
static uint32_t foreign_toplevel_manager_global_version = 0;
-static TasklistManager *tasklist_manager_new ();
static ToplevelTask *toplevel_task_new (TasklistManager *tasklist, struct zwlr_foreign_toplevel_handle_v1 *handle);
static void
@@ -92,7 +91,7 @@ static const struct wl_registry_listener wl_registry_listener = {
};
static void
-wayland_tasklist_init_if_needed ()
+wayland_tasklist_init_if_needed (void)
{
if (has_initialized)
return;
@@ -165,7 +164,7 @@ tasklist_manager_disconnected_from_widget (TasklistManager *tasklist)
}
static TasklistManager *
-tasklist_manager_new ()
+tasklist_manager_new (void)
{
if (!foreign_toplevel_manager_global_id)
return NULL;