From 2b3043e578f00a5071dfae40c237b86cc6d70c7e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 10 Apr 2014 19:42:06 +0200 Subject: Use #pragma once --- src/methods/common.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/methods/common.h') diff --git a/src/methods/common.h b/src/methods/common.h index 92cacc8..4d9c4c0 100644 --- a/src/methods/common.h +++ b/src/methods/common.h @@ -24,8 +24,7 @@ */ -#ifndef _FASTD_METHODS_COMMON_H_ -#define _FASTD_METHODS_COMMON_H_ +#pragma once #include "../fastd.h" @@ -116,5 +115,3 @@ static inline void fastd_method_expand_nonce(uint8_t *buf, const uint8_t nonce[C memcpy(buf, nonce, min_size_t(len, COMMON_NONCEBYTES)); buf[len-1] = 1; } - -#endif /* _FASTD_METHODS_COMMON_H_ */ -- cgit v1.2.3