X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=send.h;h=ae9aa029c164bef78914c1522b6c7a7681e3d106;hb=981441102199c5c9e3fca84ff3e723ddfa78de01;hp=48d425aef05beb2034b84fb0d07e210f6b33f57e;hpb=fac5b559a784cd50ae355bddae1ca2a850e4d39a;p=platform%2Fupstream%2Fbtrfs-progs.git diff --git a/send.h b/send.h index 48d425a..ae9aa02 100644 --- a/send.h +++ b/send.h @@ -17,8 +17,15 @@ * Boston, MA 021110-1307, USA. */ +#ifndef __BTRFS_SEND_H__ +#define __BTRFS_SEND_H__ + #include "ctree.h" +#ifdef __cplusplus +extern "C" { +#endif + #define BTRFS_SEND_STREAM_MAGIC "btrfs-stream" #define BTRFS_SEND_STREAM_VERSION 1 @@ -132,3 +139,9 @@ enum { #ifdef __KERNEL__ long btrfs_ioctl_send(struct file *mnt_file, void __user *arg); #endif + +#ifdef __cplusplus +} +#endif + +#endif