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

Annotation of src/usr.bin/mg/version.c, Revision 1.8

1.8     ! db          1: /*     $OpenBSD: version.c,v 1.7 2003/06/01 23:58:04 art Exp $ */
1.4       niklas      2:
1.1       deraadt     3: /*
1.8     ! db          4:  * This file contains the string that gets written
1.1       deraadt     5:  * out by the emacs-version command.
                      6:  */
                      7:
1.3       millert     8: #include "def.h"
1.1       deraadt     9:
1.5       mickey     10: const char     version[] = "Mg 2a";
1.1       deraadt    11:
                     12: /*
                     13:  * Display the version. All this does
                     14:  * is copy the version string onto the echo line.
                     15:  */
1.2       millert    16: /* ARGSUSED */
1.3       millert    17: int
1.6       cloder     18: showversion(int f, int n)
1.1       deraadt    19: {
1.7       art        20:        ewprintf("%s", version);
1.8     ! db         21:        return (TRUE);
1.1       deraadt    22: }