aboutsummaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-12 14:03:45 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-12 14:03:45 +0100
commit75f755f21eb25b3f9577b393426fa8665861e86e (patch)
treebf0ea646c2e5b6a0b0e43580d7c791cfe8945c85 /c
parentforgot to wipe at realloc (diff)
downloadsha3sum-75f755f21eb25b3f9577b393426fa8665861e86e.tar.gz
sha3sum-75f755f21eb25b3f9577b393426fa8665861e86e.tar.bz2
sha3sum-75f755f21eb25b3f9577b393426fa8665861e86e.tar.xz
c version: add inclusion guard
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--c/sha3.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/sha3.h b/c/sha3.h
index 99cd209..6587795 100644
--- a/c/sha3.h
+++ b/c/sha3.h
@@ -16,6 +16,9 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef __SHA3_H__
+#define __SHA3_H__
+
#include <stdlib.h>
@@ -106,3 +109,6 @@ extern byte* sha3_squeeze(void);
*/
extern llong* sha3_state(void);
+
+#endif
+