4BSD/usr/src/cmd/apl/write3.c

Compare this file to the similar file:
Show the results in this format:

#include "apl.h"

dofix() {
	register unsigned char cha;
	extern TERMtype;
	register unsigned char	*fixline;
	extern unsigned char *iline;
	extern	unsigned char changeinput[];

	fixline = iline;
	while ( *fixline != '\0' ) {
		cha = *fixline;
		*fixline++ = changeinput[( int )cha];
	}
}