commit | 171475934d16086113851e355a98cdb4ab04d0ec | [log] [tgz] |
---|---|---|
author | Ken MacKay <kmackay@gmail.com> | Tue Mar 08 18:58:05 2016 -0800 |
committer | Ken MacKay <kmackay@gmail.com> | Tue Mar 08 18:58:05 2016 -0800 |
tree | 010955499d4861ca28765c524b1ee4c87a3b97e2 | |
parent | bcc8143addcab786322f1a1a159151ea9196f3a1 [diff] | |
parent | af1a5c75a0816b929aed2590ad320d2852b4beb4 [diff] |
Merge pull request #74 from carlescufi/master Avoid warnings when compiling without uECC_VLI_NATIVE_LITTLE_ENDIAN
diff --git a/uECC.c b/uECC.c index f3dacb8..63ec6f9 100644 --- a/uECC.c +++ b/uECC.c
@@ -157,6 +157,7 @@ #endif }; +#if uECC_VLI_NATIVE_LITTLE_ENDIAN static void bcopy(uint8_t *dst, const uint8_t *src, unsigned num_bytes) { @@ -165,6 +166,7 @@ dst[num_bytes] = src[num_bytes]; } } +#endif static cmpresult_t uECC_vli_cmp_unsafe(const uECC_word_t *left, const uECC_word_t *right,