summaryrefslogtreecommitdiffstats
path: root/src/crypto.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-10 19:42:06 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-10 19:42:06 +0200
commit2b3043e578f00a5071dfae40c237b86cc6d70c7e (patch)
tree2c7876ce55f85fcbbd58e980dee7ae474b24fe19 /src/crypto.h
parent4ab823eb500a8a63061eb23581e73ff9d8bffce1 (diff)
downloadfastd-2b3043e578f00a5071dfae40c237b86cc6d70c7e.tar
fastd-2b3043e578f00a5071dfae40c237b86cc6d70c7e.zip
Use #pragma once
Diffstat (limited to 'src/crypto.h')
-rw-r--r--src/crypto.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/crypto.h b/src/crypto.h
index 9d96268..25efb10 100644
--- a/src/crypto.h
+++ b/src/crypto.h
@@ -24,8 +24,7 @@
*/
-#ifndef _FASTD_CRYPTO_H_
-#define _FASTD_CRYPTO_H_
+#pragma once
#include "types.h"
@@ -92,5 +91,3 @@ static inline void xor_a(fastd_block128_t *x, const fastd_block128_t *a) {
static inline bool fastd_true(void) {
return true;
}
-
-#endif /* _FASTD_CRYPTO_H_ */