merge function GetPathElementEnd and GetPathElement to one function
fix overlay test program build
replace gcvt by sprintf for better portability
add missing header file reference
cleanup code
remove unused code
cleanup code
remove some diagnostics for non-watcom compilers
fix DIP/MAD build for non-watcom compilers
correct prototypes
fix prototypes