Commit bd3568fb authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

added const for sunstudio compiler/linker (Trac #272).

fix confirmed, change should be trivial enough.  so I don't request/wait for review.

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 8c66bff0
......@@ -23,12 +23,12 @@ namespace xfr {
// 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment