Annotation of src/usr.bin/mg/version.c, Revision 1.9
1.9 ! kjell 1: /* $OpenBSD: version.c,v 1.8 2005/04/03 02:09:28 db Exp $ */
! 2:
! 3: /* This file is in the public domain. */
1.4 niklas 4:
1.1 deraadt 5: /*
1.8 db 6: * This file contains the string that gets written
1.1 deraadt 7: * out by the emacs-version command.
8: */
9:
1.3 millert 10: #include "def.h"
1.1 deraadt 11:
1.5 mickey 12: const char version[] = "Mg 2a";
1.1 deraadt 13:
14: /*
15: * Display the version. All this does
16: * is copy the version string onto the echo line.
17: */
1.2 millert 18: /* ARGSUSED */
1.3 millert 19: int
1.6 cloder 20: showversion(int f, int n)
1.1 deraadt 21: {
1.7 art 22: ewprintf("%s", version);
1.8 db 23: return (TRUE);
1.1 deraadt 24: }