1999-08-28 05:11:36 +00:00
|
|
|
/* $FreeBSD$
|
1998-01-21 14:37:27 +00:00
|
|
|
*
|
|
|
|
* $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"
|
|
|
|
|
2002-04-28 01:33:45 +00:00
|
|
|
void my_exit(int _status); /* in patch.c */
|
1998-01-21 14:37:27 +00:00
|
|
|
|
|
|
|
/* Print out the version number and die. */
|
|
|
|
|
|
|
|
void
|
2002-04-28 01:33:45 +00:00
|
|
|
version(void)
|
1998-01-21 14:37:27 +00:00
|
|
|
{
|
|
|
|
fprintf(stderr, "Patch version %s\n", PATCH_VERSION);
|
|
|
|
my_exit(0);
|
|
|
|
}
|