diff options
author | Fritz Elfert <felfert@to.com> | 2000-07-31 03:12:38 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2000-07-31 03:12:38 +0000 |
commit | 7fb94ed43a814788cda019c1e77314abc1626339 (patch) | |
tree | 50b86a44e2809e6fbcdcd080f2a2dc4dbc37042e /include/nfs_prot.h | |
parent | fbb17061d3c622f0786a5d9ad41e8ccd95ef706c (diff) | |
download | plptools-7fb94ed43a814788cda019c1e77314abc1626339.tar.gz plptools-7fb94ed43a814788cda019c1e77314abc1626339.tar.bz2 plptools-7fb94ed43a814788cda019c1e77314abc1626339.zip |
Applied mjg-0.6 patch.
Started adding kdoc compliant documentation comments.
Added PsiTime
Diffstat (limited to 'include/nfs_prot.h')
-rw-r--r-- | include/nfs_prot.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/include/nfs_prot.h b/include/nfs_prot.h index 16cc31f..8bc490f 100644 --- a/include/nfs_prot.h +++ b/include/nfs_prot.h @@ -9,7 +9,6 @@ #endif #ifdef linux # include <sys/time.h> -# include <linux/nfs.h> #endif #ifdef __sgi # include <rpc/types.h> @@ -42,7 +41,7 @@ #define NFSMODE_SOCK 0140000 #define NFSMODE_FIFO 0010000 -#if !defined(hpux) && !defined(linux) && !defined(__sgi) +#if !defined(hpux) && !defined(__sgi) enum nfsstat { NFS_OK = 0, NFSERR_PERM = 1, @@ -63,16 +62,12 @@ enum nfsstat { NFSERR_STALE = 70, NFSERR_WFLUSH = 99 }; -#endif /* !hpux, linux */ +#endif /* !hpux, sgi */ -#ifdef linux -typedef enum nfs_stat nfsstat; -#else typedef enum nfsstat nfsstat; -#endif bool_t xdr_nfsstat(); -#if !defined(hpux) && !defined(linux) && !defined(__sgi) +#if !defined(hpux) && !defined(__sgi) enum ftype { NFNON = 0, NFREG = 1, @@ -85,7 +80,7 @@ enum ftype { NFFIFO = 8 }; typedef enum ftype ftype; -#endif /* !linux, hpux */ +#endif /* !hpux, sgi */ #ifdef __sgi typedef enum nfsftype ftype; @@ -94,17 +89,12 @@ typedef enum nfsftype ftype; #ifdef hpux typedef enum nfsftype ftype; #endif -#ifdef linux -typedef enum nfs_ftype ftype; -#endif bool_t xdr_ftype(); -#ifndef linux struct nfs_fh { char data[NFS_FHSIZE]; }; -#endif typedef struct nfs_fh nfs_fh; bool_t xdr_nfs_fh(); |