[BACK]Return to version.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

File: [local] / src / usr.bin / mg / version.c (download)

Revision 1.2, Thu Apr 13 06:12:18 2000 UTC (24 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.1: +5 -4 lines

The start of KNF + -Wall.  The code has been run through indent but
needs hand fixup.  I stopped at keymap.c...

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

#define TRUE	1		/* include "def.h" when things get more
				 * complicated */

char            version[] = "Mg 2a";

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