diff options
author | Arkadiusz Hiler <arek@hiler.eu> | 2018-09-30 13:58:49 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arek@hiler.eu> | 2018-09-30 14:09:05 +0300 |
commit | 1e70f7b19e92c20a691f2697b2c92ea8b13daba3 (patch) | |
tree | 112f684404755d6924d7338507eaef07500ced1f /include | |
parent | Remove declarations that do no have definitions (diff) | |
download | sway-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.h | 2 | ||||
-rw-r--r-- | include/sway/debug.h | 2 | ||||
-rw-r--r-- | include/sway/ipc-json.h | 2 | ||||
-rw-r--r-- | include/swaybar/config.h | 2 |
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 | ||
470 | void free_seat_config(struct seat_config *ic); | 470 | void free_seat_config(struct seat_config *ic); |
471 | 471 | ||
472 | struct seat_attachment_config *seat_attachment_config_new(); | 472 | struct seat_attachment_config *seat_attachment_config_new(void); |
473 | 473 | ||
474 | struct seat_attachment_config *seat_config_get_attachment( | 474 | struct 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 | ||
18 | extern struct sway_debug debug; | 18 | extern struct sway_debug debug; |
19 | 19 | ||
20 | void update_debug_tree(); | 20 | void 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 | ||
7 | json_object *ipc_json_get_version(); | 7 | json_object *ipc_json_get_version(void); |
8 | 8 | ||
9 | json_object *ipc_json_describe_disabled_output(struct sway_output *o); | 9 | json_object *ipc_json_describe_disabled_output(struct sway_output *o); |
10 | json_object *ipc_json_describe_node(struct sway_node *node); | 10 | json_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 | ||
53 | struct swaybar_config *init_config(); | 53 | struct swaybar_config *init_config(void); |
54 | void free_config(struct swaybar_config *config); | 54 | void free_config(struct swaybar_config *config); |
55 | uint32_t parse_position(const char *position); | 55 | uint32_t parse_position(const char *position); |
56 | 56 | ||