Add Include macro guards

This commit is contained in:
Clément Péron
2019-01-03 16:05:21 +01:00
parent f77d816e48
commit 6af656c5ce
4 changed files with 20 additions and 0 deletions

View File

@@ -17,6 +17,9 @@
// Adapted from https://github.com/calccrypto/uint256_t
#ifndef _UINT256_H_
#define _UINT256_H_
#include <stdint.h>
#include <stdbool.h>
@@ -63,3 +66,5 @@ bool tostring128(uint128_t *number, uint32_t base, char *out,
uint32_t outLength);
bool tostring256(uint256_t *number, uint32_t base, char *out,
uint32_t outLength);
#endif /* _UINT256_H_ */