Corrections to follow C90 standard (separate declarations and code). Macro for kernel to match strtol to implemented simple_strtol.