Cleanup: send_fds functions are not const-correct
[lttng-tools.git] / src / common / unix.c
index 2f4df68e627bd37a0f6fc84fdfb868cc02de6bc1..41525b69170a2c10bfcbdf2401f22936e576d058 100644 (file)
@@ -374,7 +374,7 @@ int lttcomm_close_unix_sock(int sock)
  * Returns the size of data sent, or negative error value.
  */
 LTTNG_HIDDEN
-ssize_t lttcomm_send_fds_unix_sock(int sock, int *fds, size_t nb_fd)
+ssize_t lttcomm_send_fds_unix_sock(int sock, const int *fds, size_t nb_fd)
 {
        struct msghdr msg;
        struct cmsghdr *cmptr;
This page took 0.023669 seconds and 4 git commands to generate.