source: trunk/minix/commands/patch/version.c@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 690 bytes
Line 
1/* $Header: /cvsup/minix/src/commands/patch/version.c,v 1.1.1.1 2005/04/21 14:55:11 beng Exp $
2 *
3 * $Log: version.c,v $
4 * Revision 1.1.1.1 2005/04/21 14:55:11 beng
5 * Initial import of pre-3.0.1
6 *
7 * Revision 1.1.1.1 2005/04/20 13:33:20 beng
8 * Initial import of minix 2.0.4
9 *
10 * Revision 2.0 86/09/17 15:40:11 lwall
11 * Baseline for netwide release.
12 *
13 */
14
15#include "EXTERN.h"
16#include "common.h"
17#include "util.h"
18#include "INTERN.h"
19#include "patchlevel.h"
20#include "version.h"
21
22/* Print out the version number and die. */
23
24void
25version()
26{
27 extern char rcsid[];
28
29#ifdef lint
30 rcsid[0] = rcsid[0];
31#else
32 fatal3("%s\nPatch level: %d\n", rcsid, PATCHLEVEL);
33#endif
34}
Note: See TracBrowser for help on using the repository browser.