]> git.sur5r.net Git - i3/i3/blobdiff - src/ipc.c
Use (void) instead of () for functions without args (Thanks fernandotcl)
[i3/i3] / src / ipc.c
index 3733034dec5713ae6fabaef1988beadf83010088..40ad868414e9afdd44912bf4ce27bf7dd7a53a82 100644 (file)
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -97,7 +97,7 @@ void ipc_send_event(const char *event, uint32_t message_type, const char *payloa
  * when exiting or restarting only!
  *
  */
-void ipc_shutdown() {
+void ipc_shutdown(void) {
     ipc_client *current;
     while (!TAILQ_EMPTY(&all_clients)) {
         current = TAILQ_FIRST(&all_clients);