summaryrefslogtreecommitdiffstats
path: root/source/smbd/quotas.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-10-11 14:46:40 +0000
committerGerald Carter <jerry@samba.org>2005-10-11 14:46:40 +0000
commita0c0de43ee2887a684c607259b55dc1663863a4a (patch)
treed69cb6b5462f9619eedc95203eeb1024e323a9d8 /source/smbd/quotas.c
parent69af5017349ded97cef402c3e951f505c3c1f570 (diff)
downloadsamba-a0c0de43ee2887a684c607259b55dc1663863a4a.tar.gz
samba-a0c0de43ee2887a684c607259b55dc1663863a4a.tar.xz
samba-a0c0de43ee2887a684c607259b55dc1663863a4a.zip
r10901: BUG 3145: Fix build issue regarding quota support on Solaris
Diffstat (limited to 'source/smbd/quotas.c')
-rw-r--r--source/smbd/quotas.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/smbd/quotas.c b/source/smbd/quotas.c
index 008f212c2cb..8cb94bca3d8 100644
--- a/source/smbd/quotas.c
+++ b/source/smbd/quotas.c
@@ -414,7 +414,7 @@ BOOL disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB
static int quotastat;
-static int xdr_getquota_args(XDR *xdrsp, struct getquota_args *args)
+static int my_xdr_getquota_args(XDR *xdrsp, struct getquota_args *args)
{
if (!xdr_string(xdrsp, &args->gqa_pathp, RQ_PATHLEN ))
return(0);
@@ -423,7 +423,7 @@ static int xdr_getquota_args(XDR *xdrsp, struct getquota_args *args)
return (1);
}
-static int xdr_getquota_rslt(XDR *xdrsp, struct getquota_rslt *gqr)
+static int my_xdr_getquota_rslt(XDR *xdrsp, struct getquota_rslt *gqr)
{
if (!xdr_int(xdrsp, &quotastat)) {
DEBUG(6,("nfs_quotas: Status bad or zero\n"));
@@ -493,7 +493,7 @@ static BOOL nfs_quotas(char *nfspath, uid_t euser_id, SMB_BIG_UINT *bsize, SMB_B
clnt->cl_auth = authunix_create_default();
DEBUG(9,("nfs_quotas: auth_success\n"));
- clnt_stat=clnt_call(clnt, RQUOTAPROC_GETQUOTA, xdr_getquota_args, (caddr_t)&args, xdr_getquota_rslt, (caddr_t)&gqr, timeout);
+ clnt_stat=clnt_call(clnt, RQUOTAPROC_GETQUOTA, my_xdr_getquota_args, (caddr_t)&args, my_xdr_getquota_rslt, (caddr_t)&gqr, timeout);
if (clnt_stat != RPC_SUCCESS) {
DEBUG(9,("nfs_quotas: clnt_call fail\n"));