summaryrefslogtreecommitdiff
path: root/btrfs-list.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-01-21 17:49:26 +0100
committerDavid Sterba <dsterba@suse.cz>2015-01-21 17:49:26 +0100
commit07ce7005fc81289eb4c7dde7d601be08c977b92c (patch)
treeed9be80ea3b023b552e281aa5425e4675ed32892 /btrfs-list.h
parent39568fa417ceee3133a8cadae0bd1527adf61221 (diff)
btrfs-progs: unify header file inclusion protections
There are missing ifdefs or defines with very generic names. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'btrfs-list.h')
-rw-r--r--btrfs-list.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/btrfs-list.h b/btrfs-list.h
index ee2aea5..4b21300 100644
--- a/btrfs-list.h
+++ b/btrfs-list.h
@@ -16,6 +16,9 @@
* Boston, MA 021110-1307, USA.
*/
+#ifndef __BTRFS_LIST_H__
+#define __BTRFS_LIST_H__
+
#if BTRFS_FLAT_INCLUDES
#include "kerncompat.h"
#else
@@ -165,3 +168,5 @@ int btrfs_list_get_default_subvolume(int fd, u64 *default_id);
char *btrfs_list_path_for_root(int fd, u64 root);
int btrfs_list_get_path_rootid(int fd, u64 *treeid);
int btrfs_get_subvol(int fd, struct root_info *the_ri);
+
+#endif