]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - gnu/usr.bin/patch/version.c
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / gnu / usr.bin / patch / version.c
1 /* $FreeBSD$
2  *
3  * $Log: version.c,v $
4  * Revision 2.0  86/09/17  15:40:11  lwall
5  * Baseline for netwide release.
6  *
7  */
8
9 #include "EXTERN.h"
10 #include "common.h"
11 #include "util.h"
12 #include "INTERN.h"
13 #include "patchlevel.h"
14 #include "version.h"
15
16 void    my_exit(int _status);           /* in patch.c */
17
18 /* Print out the version number and die. */
19
20 void
21 version(void)
22 {
23     fprintf(stderr, "Patch version %s\n", PATCH_VERSION);
24     my_exit(0);
25 }