GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: usr.bin/mg/version.c Lines: 0 2 0.0 %
Date: 2017-11-13 Branches: 0 0 0.0 %

Line Branch Exec Source
1
/*	$OpenBSD: version.c,v 1.10 2015/03/19 21:22:15 bcallah Exp $	*/
2
3
/* This file is in the public domain. */
4
5
/*
6
 * This file contains the string that gets written
7
 * out by the emacs-version command.
8
 */
9
10
#include <sys/queue.h>
11
#include <signal.h>
12
#include <stdio.h>
13
14
#include "def.h"
15
16
const char	version[] = "Mg 2a";
17
18
/*
19
 * Display the version. All this does
20
 * is copy the version string onto the echo line.
21
 */
22
/* ARGSUSED */
23
int
24
showversion(int f, int n)
25
{
26
	ewprintf("%s", version);
27
	return (TRUE);
28
}