summaryrefslogtreecommitdiffstats
path: root/tdeioslave/nfs/nfs_prot_xdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/nfs/nfs_prot_xdr.c')
-rw-r--r--tdeioslave/nfs/nfs_prot_xdr.c58
1 files changed, 29 insertions, 29 deletions
diff --git a/tdeioslave/nfs/nfs_prot_xdr.c b/tdeioslave/nfs/nfs_prot_xdr.c
index 57d446489..71d2a58b7 100644
--- a/tdeioslave/nfs/nfs_prot_xdr.c
+++ b/tdeioslave/nfs/nfs_prot_xdr.c
@@ -47,7 +47,7 @@ bool_t
xdr_nfsstat(XDR *xdrs, nfsstat *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_enum(xdrs, (enum_t *)objp)) {
return (FALSE);
@@ -59,7 +59,7 @@ bool_t
xdr_ftype(XDR *xdrs, ftype *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_enum(xdrs, (enum_t *)objp)) {
return (FALSE);
@@ -71,7 +71,7 @@ bool_t
xdr_nfs_fh(XDR *xdrs, nfs_fh *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
int i=i;
if (!xdr_opaque(xdrs, objp->data, NFS_FHSIZE)) {
@@ -84,7 +84,7 @@ bool_t
xdr_nfstime(XDR *xdrs, nfstime *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_u_int(xdrs, &objp->seconds)) {
return (FALSE);
@@ -99,7 +99,7 @@ bool_t
xdr_fattr(XDR *xdrs, fattr *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (xdrs->x_op == XDR_ENCODE) {
@@ -274,7 +274,7 @@ bool_t
xdr_sattr(XDR *xdrs, sattr *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (xdrs->x_op == XDR_ENCODE) {
@@ -365,7 +365,7 @@ bool_t
xdr_filename(XDR *xdrs, filename *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_string(xdrs, objp, NFS_MAXNAMLEN)) {
return (FALSE);
@@ -377,7 +377,7 @@ bool_t
xdr_nfspath(XDR *xdrs, nfspath *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_string(xdrs, objp, NFS_MAXPATHLEN)) {
return (FALSE);
@@ -389,7 +389,7 @@ bool_t
xdr_attrstat(XDR *xdrs, attrstat *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfsstat(xdrs, &objp->status)) {
return (FALSE);
@@ -410,7 +410,7 @@ bool_t
xdr_sattrargs(XDR *xdrs, sattrargs *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfs_fh(xdrs, &objp->file)) {
return (FALSE);
@@ -425,7 +425,7 @@ bool_t
xdr_diropargs(XDR *xdrs, diropargs *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfs_fh(xdrs, &objp->dir)) {
return (FALSE);
@@ -440,7 +440,7 @@ bool_t
xdr_diropokres(XDR *xdrs, diropokres *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfs_fh(xdrs, &objp->file)) {
return (FALSE);
@@ -455,7 +455,7 @@ bool_t
xdr_diropres(XDR *xdrs, diropres *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfsstat(xdrs, &objp->status)) {
return (FALSE);
@@ -476,7 +476,7 @@ bool_t
xdr_readlinkres(XDR *xdrs, readlinkres *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfsstat(xdrs, &objp->status)) {
return (FALSE);
@@ -497,7 +497,7 @@ bool_t
xdr_readargs(XDR *xdrs, readargs *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfs_fh(xdrs, &objp->file)) {
return (FALSE);
@@ -518,7 +518,7 @@ bool_t
xdr_readokres(XDR *xdrs, readokres *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_fattr(xdrs, &objp->attributes)) {
return (FALSE);
@@ -533,7 +533,7 @@ bool_t
xdr_readres(XDR *xdrs, readres *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfsstat(xdrs, &objp->status)) {
return (FALSE);
@@ -554,7 +554,7 @@ bool_t
xdr_writeargs(XDR *xdrs, writeargs *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (xdrs->x_op == XDR_ENCODE) {
@@ -634,7 +634,7 @@ bool_t
xdr_createargs(XDR *xdrs, createargs *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_diropargs(xdrs, &objp->where)) {
return (FALSE);
@@ -649,7 +649,7 @@ bool_t
xdr_renameargs(XDR *xdrs, renameargs *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_diropargs(xdrs, &objp->from)) {
return (FALSE);
@@ -664,7 +664,7 @@ bool_t
xdr_linkargs(XDR *xdrs, linkargs *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfs_fh(xdrs, &objp->from)) {
return (FALSE);
@@ -679,7 +679,7 @@ bool_t
xdr_symlinkargs(XDR *xdrs, symlinkargs *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_diropargs(xdrs, &objp->from)) {
return (FALSE);
@@ -697,7 +697,7 @@ bool_t
xdr_nfscookie(XDR *xdrs, nfscookie objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_opaque(xdrs, objp, NFS_COOKIESIZE)) {
return (FALSE);
@@ -709,7 +709,7 @@ bool_t
xdr_readdirargs(XDR *xdrs, readdirargs *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfs_fh(xdrs, &objp->dir)) {
return (FALSE);
@@ -727,7 +727,7 @@ bool_t
xdr_entry(XDR *xdrs, entry *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_u_int(xdrs, &objp->fileid)) {
return (FALSE);
@@ -748,7 +748,7 @@ bool_t
xdr_dirlist(XDR *xdrs, dirlist *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_pointer(xdrs, (char **)&objp->entries, sizeof(entry), (xdrproc_t)xdr_entry)) {
return (FALSE);
@@ -763,7 +763,7 @@ bool_t
xdr_readdirres(XDR *xdrs, readdirres *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfsstat(xdrs, &objp->status)) {
return (FALSE);
@@ -784,7 +784,7 @@ bool_t
xdr_statfsokres(XDR *xdrs, statfsokres *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (xdrs->x_op == XDR_ENCODE) {
@@ -868,7 +868,7 @@ bool_t
xdr_statfsres(XDR *xdrs, statfsres *objp)
{
- register int32_t *buf=buf;
+ int32_t *buf=buf;
if (!xdr_nfsstat(xdrs, &objp->status)) {
return (FALSE);