]> git.sur5r.net Git - i3/i3/blobdiff - include/libi3.h
ipc_send_message: use stack frame with fixed size
[i3/i3] / include / libi3.h
index 54fa0cc730a6e4e83e174f6c2762aa4b20edae1d..2037da2e90a0171514525bc98c14123c4688642a 100644 (file)
@@ -202,8 +202,8 @@ int ipc_connect(const char *socket_path);
  * Returns 0 on success.
  *
  */
-int ipc_send_message(int sockfd, uint32_t message_size,
-                     uint32_t message_type, const uint8_t *payload);
+int ipc_send_message(int sockfd, const uint32_t message_size,
+                     const uint32_t message_type, const uint8_t *payload);
 
 /**
  * Reads a message from the given socket file descriptor and stores its length