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().
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().