[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.8, Sun Apr 3 02:09:28 2005 UTC (19 years, 2 months ago) by db
Branch: MAIN
Changes since 1.7: +3 -3 lines

This is a no binary change which does:

- spelling, punctuation fixes
- variable declaration lineup
- use parentheses for return and sizeof
- K&R function declarations -> ANSI
- other minor code beautification

ok henning@

/*	$OpenBSD: version.c,v 1.8 2005/04/03 02:09:28 db Exp $	*/

/*
 * This file contains the string that gets 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("%s", version);
	return (TRUE);
}