singIebit / pollardsrho

Implementation of the Pollard's Rho algorithm for the secp256k1 curve.
MIT License
4 stars 1 forks source link

Update pollardsrho.c #3

Closed 21orangehat closed 2 weeks ago

21orangehat commented 2 weeks ago

Changing the include order to avoid "implicit declaration of function warning"

21orangehat commented 2 weeks ago

Changing the include order to avoid "implicit declaration of function warning"

I had a problem to compile the code and searching about it I found this[1] message about the correct order of include between gmp.h and stdio.h

So I just changed the order and the compilation happened without any problem.

[1]https://gmplib.org/list-archives/gmp-bugs/2019-April/004541.html

singIebit commented 2 weeks ago

Changing the include order to avoid "implicit declaration of function warning"

I had a problem to compile the code and searching about it I found this[1] message about the correct order of include between gmp.h and stdio.h

So I just changed the order and the compilation happened without any problem.

[1]https://gmplib.org/list-archives/gmp-bugs/2019-April/004541.html

Thank you very much for fixing this issue, I will approve your change.