[svn] commit: r2389 - /trunk/src/lib/xfr/fd_share.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jul 1 18:22:38 UTC 2010
Author: jinmei
Date: Thu Jul 1 18:22:37 2010
New Revision: 2389
Log:
added const for sunstudio compiler/linker (Trac #272).
fix confirmed, change should be trivial enough. so I don't request/wait for review.
Modified:
trunk/src/lib/xfr/fd_share.h
Modified: trunk/src/lib/xfr/fd_share.h
==============================================================================
--- trunk/src/lib/xfr/fd_share.h (original)
+++ trunk/src/lib/xfr/fd_share.h Thu Jul 1 18:22:37 2010
@@ -23,12 +23,12 @@
// Receive socket descriptor on unix domain socket 'sock'.
// Returned value is the socket descriptor received.
// Errors are indicated by a return value of -1.
-int recv_fd(int sock);
+int recv_fd(const int sock);
// Send socket descriptor "fd" to server over unix domain socket 'sock',
// the connection from socket 'sock' to unix domain server should be established first.
// Errors are indicated by a return value of -1.
-int send_fd(int sock, int fd);
+int send_fd(const int sock, const int fd);
} // End for namespace xfr
} // End for namespace isc
More information about the bind10-changes
mailing list