aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Arkadiusz Hiler <arek@hiler.eu>2018-09-30 13:58:49 +0300
committerLibravatar Arkadiusz Hiler <arek@hiler.eu>2018-09-30 14:09:05 +0300
commit1e70f7b19e92c20a691f2697b2c92ea8b13daba3 (patch)
tree112f684404755d6924d7338507eaef07500ced1f /include
parentRemove declarations that do no have definitions (diff)
downloadsway-1e70f7b19e92c20a691f2697b2c92ea8b13daba3.tar.gz
sway-1e70f7b19e92c20a691f2697b2c92ea8b13daba3.tar.zst
sway-1e70f7b19e92c20a691f2697b2c92ea8b13daba3.zip
Turn funcs() into funcs(void)
If they really do not take undefined number of arguments.
Diffstat (limited to 'include')
-rw-r--r--include/sway/config.h2
-rw-r--r--include/sway/debug.h2
-rw-r--r--include/sway/ipc-json.h2
-rw-r--r--include/swaybar/config.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 1c6e2ac4..5e28c678 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -469,7 +469,7 @@ struct seat_config *copy_seat_config(struct seat_config *seat);
469 469
470void free_seat_config(struct seat_config *ic); 470void free_seat_config(struct seat_config *ic);
471 471
472struct seat_attachment_config *seat_attachment_config_new(); 472struct seat_attachment_config *seat_attachment_config_new(void);
473 473
474struct seat_attachment_config *seat_config_get_attachment( 474struct seat_attachment_config *seat_config_get_attachment(
475 struct seat_config *seat_config, char *identifier); 475 struct seat_config *seat_config, char *identifier);
diff --git a/include/sway/debug.h b/include/sway/debug.h
index bf3a5f6d..0e9bb056 100644
--- a/include/sway/debug.h
+++ b/include/sway/debug.h
@@ -17,6 +17,6 @@ struct sway_debug {
17 17
18extern struct sway_debug debug; 18extern struct sway_debug debug;
19 19
20void update_debug_tree(); 20void update_debug_tree(void);
21 21
22#endif 22#endif
diff --git a/include/sway/ipc-json.h b/include/sway/ipc-json.h
index fef243e3..1cbfd15d 100644
--- a/include/sway/ipc-json.h
+++ b/include/sway/ipc-json.h
@@ -4,7 +4,7 @@
4#include "sway/tree/container.h" 4#include "sway/tree/container.h"
5#include "sway/input/input-manager.h" 5#include "sway/input/input-manager.h"
6 6
7json_object *ipc_json_get_version(); 7json_object *ipc_json_get_version(void);
8 8
9json_object *ipc_json_describe_disabled_output(struct sway_output *o); 9json_object *ipc_json_describe_disabled_output(struct sway_output *o);
10json_object *ipc_json_describe_node(struct sway_node *node); 10json_object *ipc_json_describe_node(struct sway_node *node);
diff --git a/include/swaybar/config.h b/include/swaybar/config.h
index 6739c28a..5f5688cf 100644
--- a/include/swaybar/config.h
+++ b/include/swaybar/config.h
@@ -50,7 +50,7 @@ struct swaybar_config {
50 } colors; 50 } colors;
51}; 51};
52 52
53struct swaybar_config *init_config(); 53struct swaybar_config *init_config(void);
54void free_config(struct swaybar_config *config); 54void free_config(struct swaybar_config *config);
55uint32_t parse_position(const char *position); 55uint32_t parse_position(const char *position);
56 56