Renames instances of "index" to "ix", and fixes a number of -Wcast-qual
problems by liberally sprinkling const declarations around.
This should now build again for both macppc and mac68k.
Patches sent to original maintainer.
remove the non-functional -p/--pname argument, replace it with -f/--fname
add -a (use abbreviations) and -L (use logical offsets) to getopt parse list
thanks to wiz for noticing inconsistencies