[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.5

1.5     ! mickey      1: /*     $OpenBSD: version.c,v 1.4 2001/01/29 01:58:10 niklas Exp $      */
1.4       niklas      2:
1.1       deraadt     3: /*
                      4:  * This file contains the string that get written
                      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.1       deraadt    18: showversion(f, n)
1.3       millert    19:        int f, n;
1.1       deraadt    20: {
                     21:        ewprintf(version);
                     22:        return TRUE;
                     23: }