root/usr.bin/mg/version.c
/*      $OpenBSD: version.c,v 1.11 2023/03/08 04:43:11 guenther Exp $   */

/* This file is in the public domain. */

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

#include <sys/queue.h>
#include <signal.h>
#include <stdio.h>

#include "def.h"

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

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