Fix mismatch between function prototype and definition, from Anindya