aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Arkadiusz Hiler <arek@hiler.eu>2018-09-30 13:58:35 +0300
committerLibravatar Arkadiusz Hiler <arek@hiler.eu>2018-09-30 14:09:05 +0300
commitd8200012fbf27e820c069fdbb570a64f46769454 (patch)
tree33d6758f6590f825728edee517443d2d34152110
parentRemove libcap/prctl artifacts (diff)
downloadsway-d8200012fbf27e820c069fdbb570a64f46769454.tar.gz
sway-d8200012fbf27e820c069fdbb570a64f46769454.tar.zst
sway-d8200012fbf27e820c069fdbb570a64f46769454.zip
Remove declarations that do no have definitions
There is a couple of leftover header files/declarations, which were fronting implementations that are long gone. Let's get rid of them.
-rw-r--r--include/sway/config.h2
-rw-r--r--include/swaybar/tray/dbus.h18
-rw-r--r--include/swaybar/tray/sni_watcher.h10
-rw-r--r--include/swaybar/tray/tray.h32
4 files changed, 0 insertions, 62 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index af5c7a18..1c6e2ac4 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -449,8 +449,6 @@ void free_sway_variable(struct sway_variable *var);
449 */ 449 */
450char *do_var_replacement(char *str); 450char *do_var_replacement(char *str);
451 451
452struct cmd_results *check_security_config();
453
454int input_identifier_cmp(const void *item, const void *data); 452int input_identifier_cmp(const void *item, const void *data);
455 453
456struct input_config *new_input_config(const char* identifier); 454struct input_config *new_input_config(const char* identifier);
diff --git a/include/swaybar/tray/dbus.h b/include/swaybar/tray/dbus.h
deleted file mode 100644
index eb9cfea7..00000000
--- a/include/swaybar/tray/dbus.h
+++ /dev/null
@@ -1,18 +0,0 @@
1#ifndef _SWAYBAR_DBUS_H
2#define _SWAYBAR_DBUS_H
3
4#include <stdbool.h>
5#include <dbus/dbus.h>
6extern DBusConnection *conn;
7
8/**
9 * Should be called in main loop to dispatch events
10 */
11void dispatch_dbus();
12
13/**
14 * Initializes async dbus communication
15 */
16int dbus_init();
17
18#endif /* _SWAYBAR_DBUS_H */
diff --git a/include/swaybar/tray/sni_watcher.h b/include/swaybar/tray/sni_watcher.h
deleted file mode 100644
index 25ddfcd2..00000000
--- a/include/swaybar/tray/sni_watcher.h
+++ /dev/null
@@ -1,10 +0,0 @@
1#ifndef _SWAYBAR_SNI_WATCHER_H
2#define _SWAYBAR_SNI_WATCHER_H
3
4/**
5 * Starts the sni_watcher, the watcher is practically a black box and should
6 * only be accessed though functions described in its spec
7 */
8int init_sni_watcher();
9
10#endif /* _SWAYBAR_SNI_WATCHER_H */
diff --git a/include/swaybar/tray/tray.h b/include/swaybar/tray/tray.h
deleted file mode 100644
index 2d0662be..00000000
--- a/include/swaybar/tray/tray.h
+++ /dev/null
@@ -1,32 +0,0 @@
1#ifndef _SWAYBAR_TRAY_H
2#define _SWAYBAR_TRAY_H
3
4#include <stdint.h>
5#include <stdbool.h>
6#include "swaybar/tray/dbus.h"
7#include "swaybar/tray/sni.h"
8#include "swaybar/bar.h"
9#include "list.h"
10
11extern struct tray *tray;
12
13struct tray {
14 list_t *items;
15};
16
17/**
18 * Processes a mouse event on the bar
19 */
20void tray_mouse_event(struct output *output, int x, int y,
21 uint32_t button, uint32_t state);
22
23uint32_t tray_render(struct output *output, struct config *config);
24
25void tray_upkeep(struct bar *bar);
26
27/**
28 * Initializes the tray with D-Bus
29 */
30void init_tray(struct bar *bar);
31
32#endif /* _SWAYBAR_TRAY_H */