summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/patch/version.c
blob: dde42cd07b929556efa8e9edc5341d9510259dbb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* $Header: /home/ncvs/src/gnu/usr.bin/patch/version.c,v 1.2.4.1 1996/06/05 02:41:43 jkh Exp $
 *
 * $Log: version.c,v $
 * Revision 1.2.4.1  1996/06/05 02:41:43  jkh
 * This 3rd mega-commit should hopefully bring us back to where we were.
 * I can get it to `make world' succesfully, anyway!
 *
 * Revision 1.2  1995/05/30  05:02:39  rgrimes
 * Remove trailing whitespace.
 *
 * Revision 1.1.1.1  1993/06/19  14:21:52  paul
 * b-maked patch-2.10
 *
 * Revision 2.0  86/09/17  15:40:11  lwall
 * Baseline for netwide release.
 *
 */

#include "EXTERN.h"
#include "common.h"
#include "util.h"
#include "INTERN.h"
#include "patchlevel.h"
#include "version.h"

void my_exit();

/* Print out the version number and die. */

void
version()
{
    fprintf(stderr, "Patch version %s\n", PATCH_VERSION);
    my_exit(0);
}