2.11BSD/src/lib/libc/stdio/getchar.c

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

#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)getchar.c	5.2 (Berkeley) 3/9/86";
#endif LIBC_SCCS and not lint

/*
 * A subroutine version of the macro getchar.
 */
#define	USE_STDIO_MACROS
#include <stdio.h>

#undef getchar

getchar()
{
	return(getc(stdin));
}