muodov / kociemba

A pure Python and pure C ports of Kociemba's algorithm for solving Rubik's cube
GNU General Public License v2.0
561 stars 126 forks source link

Remove several warnings #22

Closed ansiwen closed 8 years ago

ansiwen commented 8 years ago

Adds (void) to the declaration of functions without arguments to avoid strict-prototypes warnings. Adds -D_XOPEN_SOURCE=700 to compile flags for proper strnlen() declaration. Adds dummy if-clause to avoid warning about ignored return value of fread().

muodov commented 8 years ago

Thanks!