NetBSD/usr.bin/patch/version.c

22 lines
413 B
C

#ifndef lint
static char rcsid[] = "$NetBSD: version.c,v 1.3 1996/09/19 06:27:18 thorpej Exp $";
#endif /* not lint */
#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 2.0, patch level %s\n", PATCHLEVEL);
my_exit(0);
}