Continued ANSIfication, and other fixes and clarifications.
Eliminated copystruct() macro, which is unnecessary in ANSI. Reduced ambiguity warnings for nested if/if/else clauses.
Added prototypes and includes from patch by Randolph Fritz. Added more required includes and reduced other compile warnings.
Instrumented headers against multiple inclusion and for use from C++. Moved includes in headers out of "C" scope.
Replaced most outdated BSD function calls with their posix equivalents, and cleaned up a few other platform dependencies.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.