b200c6709f
our patch to look a little more like NetBSD's, and has the nice characteristic that the object code is exactly the same after the change as before it (even in patch.c and pch.c, which have pesky 'assert' statements in them). Reviewed by: /sbin/md5 on i386, alpha, sparc64 MFC after: 3 days
26 lines
435 B
C
26 lines
435 B
C
/* $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(int _status); /* in patch.c */
|
|
|
|
/* Print out the version number and die. */
|
|
|
|
void
|
|
version(void)
|
|
{
|
|
fprintf(stderr, "Patch version %s\n", PATCH_VERSION);
|
|
my_exit(0);
|
|
}
|