# 2.11BSD#431 - /usr/src/usr.bin/patch/version.c

##### Functions

    version           X

       1: /* $Header: version.c,v 2.0 86/09/17 15:40:11 lwall Exp $
       2:  *
       3:  * $Log:	version.c,v $
       4:  * Revision 2.0  86/09/17  15:40:11  lwall
       5:  * Baseline for netwide release.
       6:  *
       7:  */
       8:
       9: #include "EXTERN.h"
      10: #include "common.h"
      11: #include "util.h"
      12: #include "INTERN.h"
      13: #include "patchlevel.h"
      14: #include "version.h"
      15:
      16: /* Print out the version number and die. */
      17:
      18: void
      19: version()
      20: {
      21:     extern char rcsid[];
      22:
      23: #ifdef lint
      24:     rcsid[0] = rcsid[0];
      25: #else
      26:     fatal3("%s\nPatch level: %d\n", rcsid, PATCHLEVEL);
      27: #endif
      28: }

#### Defined functions

version defined in line 18; used 2 times

- in /usr/src/usr.bin/patch/patch.c line 461
- in /usr/src/usr.bin/patch/version.h line 9

Last modified: 1988-06-23 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 841 |