X-Git-Url: https://pd.if.org/git/?p=pd_readline;a=blobdiff_plain;f=mg%2Fversion.c;fp=mg%2Fversion.c;h=2dc08cd21dd5fdc3fc4cc02e88a8e61afa03167f;hp=0000000000000000000000000000000000000000;hb=a9843085ec916c175bd245a8398f30e6cc03f984;hpb=26fe4e09c6c3c250334fdeed60ce3061febecde2 diff --git a/mg/version.c b/mg/version.c new file mode 100644 index 0000000..2dc08cd --- /dev/null +++ b/mg/version.c @@ -0,0 +1,24 @@ +/* $OpenBSD: version.c,v 1.9 2005/06/14 18:14:40 kjell Exp $ */ + +/* This file is in the public domain. */ + +/* + * 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); +}