xref: /openbsd-src/usr.bin/mg/version.c (revision b2ea75c1b17e1a9a339660e7ed45cd24946b230e)
1 /*	$OpenBSD: version.c,v 1.5 2001/05/23 22:24:26 mickey Exp $	*/
2 
3 /*
4  * This file contains the string that get written
5  * out by the emacs-version command.
6  */
7 
8 #include "def.h"
9 
10 const char	version[] = "Mg 2a";
11 
12 /*
13  * Display the version. All this does
14  * is copy the version string onto the echo line.
15  */
16 /* ARGSUSED */
17 int
18 showversion(f, n)
19 	int f, n;
20 {
21 	ewprintf(version);
22 	return TRUE;
23 }
24