Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / gnu / usr.bin / patch / version.c
1 /* $FreeBSD: src/gnu/usr.bin/patch/version.c,v 1.6.2.1 2002/04/30 20:40:02 gad Exp $
2 /* $DragonFly: src/gnu/usr.bin/patch/Attic/version.c,v 1.2 2003/06/17 04:25:47 dillon Exp $
3  *
4  * $Log: version.c,v $
5  * Revision 2.0  86/09/17  15:40:11  lwall
6  * Baseline for netwide release.
7  *
8  */
9
10 #include "EXTERN.h"
11 #include "common.h"
12 #include "util.h"
13 #include "INTERN.h"
14 #include "patchlevel.h"
15 #include "version.h"
16
17 void    my_exit(int _status);           /* in patch.c */
18
19 /* Print out the version number and die. */
20
21 void
22 version(void)
23 {
24     fprintf(stderr, "Patch version %s\n", PATCH_VERSION);
25     my_exit(0);
26 }