summaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorArkadiusz Hiler <[email protected]>2018-09-30 13:58:49 +0300
committerArkadiusz Hiler <[email protected]>2018-09-30 14:09:05 +0300
commit1e70f7b19e92c20a691f2697b2c92ea8b13daba3 (patch)
tree112f684404755d6924d7338507eaef07500ced1f /sway/ipc-json.c
parentd8200012fbf27e820c069fdbb570a64f46769454 (diff)
Turn funcs() into funcs(void)
If they really do not take undefined number of arguments.
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index f054ac9f..45915094 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -42,7 +42,7 @@ static const char *ipc_json_orientation_description(enum sway_container_layout l
return "none";
}
-json_object *ipc_json_get_version() {
+json_object *ipc_json_get_version(void) {
int major = 0, minor = 0, patch = 0;
json_object *version = json_object_new_object();