1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/gnu/usr.bin/patch/version.c

26 lines
402 B
C
Raw Normal View History

1999-08-28 05:11:36 +00:00
/* $FreeBSD$
*
* $Log: version.c,v $
* 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);
}