Commit graph

2 commits

Author SHA1 Message Date
greybeard355113
ca496ee101 secp256k1zkp: Fix several warnings from implicitly declared function 'memcpy' (#42)
Added includes for <string.h> to explicitly declare 'memcpy' where needed.

This message is typical of messages suppressed by declaring 'memcpy':

    warning: In file included from depend/secp256k1-zkp/src/secp256k1.c:14:0:
    warning: depend/secp256k1-zkp/src/ecmult_impl.h: In function ‘secp256k1_ecmult_context_clone’:
    warning: depend/secp256k1-zkp/src/ecmult_impl.h:186:9: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
    warning:          memcpy(dst->pre_g, src->pre_g, size);
    warning:          ^~~~~~
2017-04-15 16:38:51 -07:00
Ignotus Peverell
f73a308bf3
Initial import. 2016-10-20 20:06:12 -04:00