From: Arne Redlich Date: Thu, 13 Feb 2014 21:19:51 +0000 (+0100) Subject: libnfs-private.h: add include guards X-Git-Tag: upstream/1.9.6^2~113 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=83a446dd8db7216a6e1abe85d981800a147bfc4c;p=deb_libnfs.git libnfs-private.h: add include guards Signed-off-by: Arne Redlich --- 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_ */