Renamed references to *_byref arguments. Fixed comments to comply with -ansi -pedantic -Wall.