bschn2 / rainforest

The rainforest crypto currency algorithm
MIT License
8 stars 8 forks source link

Polishing #19

Closed itwysgsl closed 5 years ago

itwysgsl commented 5 years ago

Some slight changes to fix errors during compilation.

itwysgsl commented 5 years ago

This line fix duplicated function issue which I've got during compilation of daemon:
https://github.com/bschn2/rainforest/blob/da0f336419955cafed78bc084d8ca34e5400fdd6/rf_aes2r.c#L138

This line include header file with size_t definition: https://github.com/bschn2/rainforest/blob/da0f336419955cafed78bc084d8ca34e5400fdd6/rfv2.h#L38

bschn2 commented 5 years ago

Hello Sir, The duplicate function should normally not happen if all is built as a single C file, but I see how it's possible to end up with this when doing a more modular build. Plus the inline may result in smaller code, so I'm fine with this. Thank you!