aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2014-05-06 00:25:09 +0100
committerPhillip Lougher <phillip@squashfs.org.uk>2014-05-06 00:25:09 +0100
commite92a9ea47d233d77c27ac227b17af37e64dc628f (patch)
treea2187282638561ee49ff821599c472f3e657467e
parent07ff03b11bda11ca5108ee3774ae4db6575c40ea (diff)
downloadsquashfs-tools-e92a9ea47d233d77c27ac227b17af37e64dc628f.tar.gz
progressbar: protect against multiple inclusion
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
-rw-r--r--squashfs-tools/progressbar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/squashfs-tools/progressbar.h b/squashfs-tools/progressbar.h
index 9ad39ea..b33b367 100644
--- a/squashfs-tools/progressbar.h
+++ b/squashfs-tools/progressbar.h
@@ -1,8 +1,10 @@
+#ifndef PROGRESSBAR_H
+#define PROGRESSBAR_H
/*
* Create a squashfs filesystem. This is a highly compressed read only
* filesystem.
*
- * Copyright (c) 2012, 2013
+ * Copyright (c) 2012, 2013, 2014
* Phillip Lougher <phillip@squashfs.org.uk>
*
* This program is free software; you can redistribute it and/or
@@ -29,3 +31,4 @@ extern void enable_progress_bar();
extern void disable_progress_bar();
extern void init_progress_bar();
extern void set_progressbar_state(int);
+#endif