From 83a446dd8db7216a6e1abe85d981800a147bfc4c Mon Sep 17 00:00:00 2001 From: Arne Redlich Date: Thu, 13 Feb 2014 22:19:51 +0100 Subject: [PATCH] libnfs-private.h: add include guards Signed-off-by: Arne Redlich --- include/libnfs-private.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/libnfs-private.h b/include/libnfs-private.h index a2f3e1a..2cc61c3 100644 --- a/include/libnfs-private.h +++ b/include/libnfs-private.h @@ -14,6 +14,10 @@ You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ + +#ifndef _LIBNFS_PRIVATE_H_ +#define _LIBNFS_PRIVATE_H_ + #ifdef HAVE_CONFIG_H #include "config.h" /* HAVE_SOCKADDR_STORAGE ? */ #endif @@ -94,7 +98,7 @@ struct rpc_context { /* fragment reassembly */ struct rpc_fragment *fragments; - + /* parameters passable via URL */ int tcp_syncnt; int uid; @@ -149,3 +153,5 @@ int rpc_add_fragment(struct rpc_context *rpc, char *data, uint64_t size); void rpc_free_all_fragments(struct rpc_context *rpc); const struct nfs_fh3 *nfs_get_rootfh(struct nfs_context *nfs); + +#endif /* !_LIBNFS_PRIVATE_H_ */ -- 2.34.1