summaryrefslogtreecommitdiff
path: root/netfs/daemon/daemonFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netfs/daemon/daemonFile.cpp')
-rw-r--r--netfs/daemon/daemonFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/netfs/daemon/daemonFile.cpp b/netfs/daemon/daemonFile.cpp
index ceee92f..0df3c2a 100644
--- a/netfs/daemon/daemonFile.cpp
+++ b/netfs/daemon/daemonFile.cpp
@@ -18,7 +18,7 @@ FileServer::~FileServer()
}
void
-FileServer::ftruncate(NetFS::ReqEnv re, Ice::Long size, const Ice::Current&)
+FileServer::ftruncate(const NetFS::ReqEnv re, Ice::Long size, const Ice::Current&)
{
(void)re;
errno = 0;
@@ -28,7 +28,7 @@ FileServer::ftruncate(NetFS::ReqEnv re, Ice::Long size, const Ice::Current&)
}
NetFS::Attr
-FileServer::fgetattr(NetFS::ReqEnv re, const Ice::Current &)
+FileServer::fgetattr(const NetFS::ReqEnv re, const Ice::Current &)
{
(void)re;
struct stat s;
@@ -65,7 +65,7 @@ FileServer::read(Ice::Long offset, Ice::Long size, const Ice::Current&)
}
void
-FileServer::write(Ice::Long offset, Ice::Long size, NetFS::Buffer data, const Ice::Current&)
+FileServer::write(Ice::Long offset, Ice::Long size, const NetFS::Buffer data, const Ice::Current&)
{
errno = 0;
if (pwrite(fd, &data.front(), size, offset) != size) {