summaryrefslogtreecommitdiff
path: root/usr.bin/mg/version.c
blob: 6d795c7015d54ba6bf23fe9939f3c3b3d1880d40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*	$OpenBSD: version.c,v 1.6 2003/05/20 03:08:55 cloder Exp $	*/

/*
 * This file contains the string that get written
 * out by the emacs-version command.
 */

#include "def.h"

const char	version[] = "Mg 2a";

/*
 * Display the version. All this does
 * is copy the version string onto the echo line.
 */
/* ARGSUSED */
int
showversion(int f, int n)
{
	ewprintf(version);
	return TRUE;
}