[CRIU] [PATCH] IPC: use constant pointers where possible

Kinsbursky Stanislav skinsbursky at openvz.org
Wed Feb 8 06:47:18 EST 2012



Signed-off-by: Stanislav Kinsbursky <skinsbursky at parallels.com>

---
 ipc_ns.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ipc_ns.c b/ipc_ns.c
index cc34a6a..de51715 100644
--- a/ipc_ns.c
+++ b/ipc_ns.c
@@ -108,7 +108,7 @@ static int dump_ipc_var(int fd)
 	return 0;
 }
 
-static int dump_ipc_data(struct cr_fdset *fdset)
+static int dump_ipc_data(const struct cr_fdset *fdset)
 {
 	int ret;
 
@@ -127,7 +127,7 @@ static int dump_ipc_data(struct cr_fdset *fdset)
 	return 0;
 }
 
-int dump_ipc_ns(int ns_pid, struct cr_fdset *fdset)
+int dump_ipc_ns(int ns_pid, const struct cr_fdset *fdset)
 {
 	int fd, ret;
 



More information about the CRIU mailing list