1993-08-02 21:48:44 +04:00
|
|
|
#ifndef lint
|
1996-09-19 10:27:04 +04:00
|
|
|
static char rcsid[] = "$NetBSD: version.c,v 1.3 1996/09/19 06:27:18 thorpej Exp $";
|
1993-08-02 21:48:44 +04:00
|
|
|
#endif /* not lint */
|
1993-04-09 15:33:50 +04:00
|
|
|
|
|
|
|
#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);
|
|
|
|
}
|