Annotation of src/usr.bin/mg/version.c, Revision 1.2
1.1 deraadt 1: /*
2: * This file contains the string that get written
3: * out by the emacs-version command.
4: */
5:
1.2 ! millert 6: #define TRUE 1 /* include "def.h" when things get more
! 7: * complicated */
1.1 deraadt 8:
1.2 ! millert 9: char version[] = "Mg 2a";
1.1 deraadt 10:
11: /*
12: * Display the version. All this does
13: * is copy the version string onto the echo line.
14: */
1.2 ! millert 15: /* ARGSUSED */
1.1 deraadt 16: showversion(f, n)
1.2 ! millert 17: int f, n;
1.1 deraadt 18: {
19: ewprintf(version);
20: return TRUE;
21: }