]> pd.if.org Git - pd_readline/blobdiff - mg/version.c
Added mg from an OpenBSD mirror site. Many thanks to the OpenBSD team and the mg...
[pd_readline] / mg / version.c
diff --git a/mg/version.c b/mg/version.c
new file mode 100644 (file)
index 0000000..2dc08cd
--- /dev/null
@@ -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);
+}