sh_malloc & sh_free prototype change to match POSIX