From 501c788f5f2a4a4b20ca8bd73bc2c3d06b5fc6a8 Mon Sep 17 00:00:00 2001 From: Adam Mizerski Date: Sun, 5 Nov 2017 20:09:16 +0100 Subject: Fix init_tray function declaration This fixes compilation failure: error: call to function 'init_tray' without a real prototype --- include/swaybar/tray/tray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/swaybar/tray/tray.h b/include/swaybar/tray/tray.h index b718e555..2d0662be 100644 --- a/include/swaybar/tray/tray.h +++ b/include/swaybar/tray/tray.h @@ -27,6 +27,6 @@ void tray_upkeep(struct bar *bar); /** * Initializes the tray with D-Bus */ -void init_tray(); +void init_tray(struct bar *bar); #endif /* _SWAYBAR_TRAY_H */ -- cgit v1.2.3