add void to silence some compiler warnings
remove duplicate function prototypes
add void parameter to silence compiler warnings
change rank, size, and next_processor to signed int