summaryrefslogtreecommitdiff
path: root/commands.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 /commands.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 'commands.h')
-rw-r--r--commands.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/commands.h b/commands.h
index 4d870f6a..bd23340d 100644
--- a/commands.h
+++ b/commands.h
@@ -14,6 +14,9 @@
* Boston, MA 021110-1307, USA.
*/
+#ifndef __BTRFS_COMMANDS_H__
+#define __BTRFS_COMMANDS_H__
+
struct cmd_struct {
const char *token;
int (*fn)(int, char **);
@@ -121,3 +124,5 @@ int test_issubvolume(char *path);
/* send.c */
char *get_subvol_name(char *mnt, char *full_path);
+
+#endif