diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-12 18:35:42 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-12 18:35:42 +0000 |
commit | ba6839f5f20617950a06ebd1fbc995803554d454 (patch) | |
tree | 0e8340439149c206ca834d6ac3f1c622409a2110 /nuttx/fs/nfs/rpc.h | |
parent | 44ec3b800f05782d2f9acea88fd3b1aeb2ef8132 (diff) | |
download | px4-nuttx-ba6839f5f20617950a06ebd1fbc995803554d454.tar.gz px4-nuttx-ba6839f5f20617950a06ebd1fbc995803554d454.tar.bz2 px4-nuttx-ba6839f5f20617950a06ebd1fbc995803554d454.zip |
Conditionally compile out RPC statistics counters
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4834 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/rpc.h')
-rw-r--r-- | nuttx/fs/nfs/rpc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/fs/nfs/rpc.h b/nuttx/fs/nfs/rpc.h index 899a308c6..9707c45de 100644 --- a/nuttx/fs/nfs/rpc.h +++ b/nuttx/fs/nfs/rpc.h @@ -222,8 +222,9 @@ struct xidr uint32_t xid; }; -/* global rpcstats */ +/* Global RPC statistics */ +#ifdef CONFIG_NFS_STATISTICS struct rpcstats { int rpcretries; @@ -232,6 +233,7 @@ struct rpcstats int rpcunexpected; int rpcinvalid; }; +#endif /* PMAP headers */ |