Unify the include guards accross all header files

This commit is contained in:
Alexandre Paillier
2022-03-07 14:21:32 +01:00
parent 89070cd2be
commit c548aba364
27 changed files with 97 additions and 38 deletions

View File

@@ -164,4 +164,4 @@ parserStatus_e continueTx(txContext_t *context);
void copyTxData(txContext_t *context, uint8_t *out, uint32_t length);
uint8_t readTxByte(txContext_t *context);
#endif /* _ETHUSTREAM_H_ */
#endif // _ETHUSTREAM_H_

View File

@@ -87,4 +87,4 @@ static __attribute__((no_instrument_function)) inline int ismaxint(uint8_t *buf,
static const char HEXDIGITS[] = "0123456789abcdef";
#endif /* _ETHUTILS_H_ */
#endif // _ETHUTILS_H_

View File

@@ -1,3 +1,6 @@
#ifndef _NETWORK_H_
#define _NETWORK_H_
#include <stdint.h>
#include "tokens.h"
#include "shared_context.h"
@@ -17,4 +20,6 @@ const network_info_t *get_network(void);
// Returns a pointer to the network name, or NULL if there is none.
const char *get_network_name(void);
// Returns a pointer to the network ticker, or chainConfig->coinName if there is none.
const char *get_network_ticker(void);
const char *get_network_ticker(void);
#endif // _NETWORK_H_

View File

@@ -73,4 +73,4 @@ void divmod256(uint256_t *l, uint256_t *r, uint256_t *div, uint256_t *mod);
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_ */
#endif // _UINT256_H_