summaryrefslogtreecommitdiff
path: root/usr.bin/mg/version.c
blob: f154e47f81ec96ae1083ceacf8b511d238e6904e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*	$OpenBSD: version.c,v 1.4 2001/01/29 01:58:10 niklas Exp $	*/

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

#include "def.h"

char	version[] = "Mg 2a";

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