Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add ifndef's to protect libnfs-raw.h from being included multiple times

  • Loading branch information...
commit f9bb21ad7d4adf3fb6e8010d0bcbbe65cfc857a6 1 parent 717cc58
@sahlberg authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 include/libnfs-raw.h
View
5 include/libnfs-raw.h
@@ -19,6 +19,9 @@
* Through this interface you have access to the full gamut of nfs and nfs related
* protocol as well as the XDR encoded/decoded structures.
*/
+#ifndef _LIBNFS_RAW_H_
+#define _LIBNFS_RAW_H_
+
#include <stdint.h>
struct rpc_data {
@@ -914,3 +917,5 @@ int rpc_nlm4_cancel_async(struct rpc_context *rpc, rpc_cb cb, struct NLM4_CANCar
*/
struct NLM4_UNLOCKargs;
int rpc_nlm4_unlock_async(struct rpc_context *rpc, rpc_cb cb, struct NLM4_UNLOCKargs *args, void *private_data);
+
+#endif
Please sign in to comment.
Something went wrong with that request. Please try again.