Fix style of "const".

This commit is contained in:
chriseth
2019-02-13 16:34:53 +01:00
parent dbb5438fed
commit 17ea467e5b
11 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ static inline void keccakf(void* state) {
FOR(i, 1, len, S); \
}
#define mkapply_sd(NAME, S) \
static inline void NAME(const uint8_t* src, \
static inline void NAME(uint8_t const* src, \
uint8_t* dst, \
size_t len) { \
FOR(i, 1, len, S); \
+1 -1
View File
@@ -77,7 +77,7 @@ bool isWellFormed(unsigned char byte1, unsigned char byte2)
return false;
}
bool validateUTF8(const unsigned char *_input, size_t _length, size_t& _invalidPosition)
bool validateUTF8(unsigned char const* _input, size_t _length, size_t& _invalidPosition)
{
bool valid = true;
size_t i = 0;