Fix compiler errors/warnings:

- Static declarations in main.c missing void to signal no arguments
- The age old index() function in strings.h clobbering function
  arguments.