# 2.11BSD#431 - /usr/src/usr.bin/patch/config.h

##### Macros

    CHARSPRINTF       X
    CPPMINUS          X
    CPPSTDIN          X
    M_VOID            X
    Reg1              X
    Reg10             X
    Reg11             X
    Reg12             X
    Reg13             X
    Reg14             X
    Reg15             X
    Reg16             X
    Reg2              X
    Reg3              X
    Reg4              X
    Reg5              X
    Reg6              X
    Reg7              X
    Reg8              X
    Reg9              X
    VOIDFLAGS         X
    VOIDUSED          X
    void              X

       1: /* config.h
       2:  * This file was produced by running the config.h.SH script, which
       3:  * gets its values from config.sh, which is generally produced by
       4:  * running Configure.
       5:  *
       6:  * Feel free to modify any of this as the need arises.  Note, however,
       7:  * that running config.h.SH again will wipe out any changes you've made.
       8:  * For a more permanent change edit config.sh and rerun config.h.SH.
       9:  */
      10:
      11:
      12: /* EUNICE:
      13:  *	This symbol, if defined, indicates that the program is being compiled
      14:  *	under the EUNICE package under VMS.  The program will need to handle
      15:  *	things like files that don't go away the first time you unlink them,
      16:  *	due to version numbering.  It will also need to compensate for lack
      17:  *	of a respectable link() command.
      18:  */
      19: /* VMS:
      20:  *	This symbol, if defined, indicates that the program is running under
      21:  *	VMS.  It is currently only set in conjunction with the EUNICE symbol.
      22:  */
      23: #/*undef	EUNICE		/**/
      24: #/*undef	VMS		/**/
      25:
      26: /* CPPSTDIN:
      27:  *	This symbol contains the first part of the string which will invoke
      28:  *	the C preprocessor on the standard input and produce to standard
      29:  *	output.	 Typical value of "cc -E" or "/lib/cpp".
      30:  */
      31: /* CPPMINUS:
      32:  *	This symbol contains the second part of the string which will invoke
      33:  *	the C preprocessor on the standard input and produce to standard
      34:  *	output.  This symbol will have the value "-" if CPPSTDIN needs a minus
      35:  *	to specify standard input, otherwise the value is "".
      36:  */
      37: #define CPPSTDIN "/lib/cpp"
      38: #define CPPMINUS ""
      39:
      40: /* CHARSPRINTF:
      41:  *	This symbol is defined if this system declares "char *sprintf()" in
      42:  *	stdio.h.  The trend seems to be to declare it as "int sprintf()".  It
      43:  *	is up to the package author to declare sprintf correctly based on the
      44:  *	symbol.
      45:  */
      46: #define CHARSPRINTF     /**/
      47:
      48: /* FLEXFILENAMES:
      49:  *	This symbol, if defined, indicates that the system supports filenames
      50:  *	longer than 14 characters.
      51:  */
      52: #/*undef	FLEXFILENAMES		/**/
      53:
      54: /* index:
      55:  *	This preprocessor symbol is defined, along with rindex, if the system
      56:  *	uses the strchr and strrchr routines instead.
      57:  */
      58: /* rindex:
      59:  *	This preprocessor symbol is defined, along with index, if the system
      60:  *	uses the strchr and strrchr routines instead.
      61:  */
      62: #/*undef	index strchr	/* cultural */
      63: #/*undef	rindex strrchr	/*  differences? */
      64:
      65: /* VOIDSIG:
      66:  *	This symbol is defined if this system declares "void (*signal())()" in
      67:  *	signal.h.  The old way was to declare it as "int (*signal())()".  It
      68:  *	is up to the package author to declare things correctly based on the
      69:  *	symbol.
      70:  */
      71: #/*undef	VOIDSIG 	/**/
      72:
      73: /* Reg1:
      74:  *	This symbol, along with Reg2, Reg3, etc. is either the word "register"
      75:  *	or null, depending on whether the C compiler pays attention to this
      76:  *	many register declarations.  The intent is that you don't have to
      77:  *	order your register declarations in the order of importance, so you
      78:  *	can freely declare register variables in sub-blocks of code and as
      79:  *	function parameters.  Do not use Reg<n> more than once per routine.
      80:  */
      81:
      82: #define Reg1 register       /**/
      83: #define Reg2 register       /**/
      84: #define Reg3 register       /**/
      85: #define Reg4        /**/
      86: #define Reg5        /**/
      87: #define Reg6        /**/
      88: #define Reg7        /**/
      89: #define Reg8        /**/
      90: #define Reg9        /**/
      91: #define Reg10       /**/
      92: #define Reg11       /**/
      93: #define Reg12       /**/
      94: #define Reg13       /**/
      95: #define Reg14       /**/
      96: #define Reg15       /**/
      97: #define Reg16       /**/
      98:
      99: /* VOIDFLAGS:
     100:  *	This symbol indicates how much support of the void type is given by this
     101:  *	compiler.  What various bits mean:
     102:  *
     103:  *	    1 = supports declaration of void
     104:  *	    2 = supports arrays of pointers to functions returning void
     105:  *	    4 = supports comparisons between pointers to void functions and
     106:  *		    addresses of void functions
     107:  *
     108:  *	The package designer should define VOIDUSED to indicate the requirements
     109:  *	of the package.  This can be done either by #defining VOIDUSED before
     110:  *	including config.h, or by defining defvoidused in Myinit.U.  If the
     111:  *	level of void support necessary is not present, defines void to int.
     112:  */
     113: #ifndef VOIDUSED
     114: #define VOIDUSED 7
     115: #endif
     116: #define VOIDFLAGS 7
     117: #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
     118: #define void int        /* is void to be avoided? */
     119: #define M_VOID      /* Xenix strikes again */
     120: #endif

#### Defined macros

CHARSPRINTF defined in line 46; used 1 times

- in /usr/src/usr.bin/patch/common.h line 154

CPPMINUS defined in line 38; never used
CPPSTDIN defined in line 37; never used
M_VOID defined in line 119; never used
Reg1 defined in line 82; used 22 times

- in /usr/src/usr.bin/patch/inp.c line 85, 217, 283, 316
- in /usr/src/usr.bin/patch/patch.c line 368, 481, 525, 573, 714, 747, 762, 785
- in /usr/src/usr.bin/patch/pch.c line 214, 415, 856, 881, 1066
- in /usr/src/usr.bin/patch/util.c line 13, 105, 124, 283, 329

Reg10 defined in line 91; used 1 times

- in /usr/src/usr.bin/patch/pch.c line 212

Reg11 defined in line 92; used 1 times

- in /usr/src/usr.bin/patch/pch.c line 222

Reg12 defined in line 93; never used
Reg13 defined in line 94; never used
Reg14 defined in line 95; never used
Reg15 defined in line 96; never used
Reg16 defined in line 97; never used
Reg2 defined in line 83; used 19 times

- in /usr/src/usr.bin/patch/inp.c line 86, 218, 317
- in /usr/src/usr.bin/patch/patch.c line 482, 526, 574, 716, 748, 763, 786
- in /usr/src/usr.bin/patch/pch.c line 215, 417, 857, 882, 1067
- in /usr/src/usr.bin/patch/util.c line 14, 104, 127, 287

Reg3 defined in line 84; used 13 times

- in /usr/src/usr.bin/patch/inp.c line 216
- in /usr/src/usr.bin/patch/patch.c line 484, 575, 764, 787
- in /usr/src/usr.bin/patch/pch.c line 213, 725, 884, 1068
- in /usr/src/usr.bin/patch/util.c line 15, 103, 126, 289

Reg4 defined in line 85; used 8 times

- in /usr/src/usr.bin/patch/inp.c line 219
- in /usr/src/usr.bin/patch/patch.c line 486, 580
- in /usr/src/usr.bin/patch/pch.c line 205, 434, 1069
- in /usr/src/usr.bin/patch/util.c line 76, 290

Reg5 defined in line 86; used 4 times

- in /usr/src/usr.bin/patch/patch.c line 496, 581
- in /usr/src/usr.bin/patch/pch.c line 206, 435

Reg6 defined in line 87; used 4 times

- in /usr/src/usr.bin/patch/patch.c line 497, 582
- in /usr/src/usr.bin/patch/pch.c line 207, 436

Reg7 defined in line 88; used 2 times

- in /usr/src/usr.bin/patch/pch.c line 209, 444

Reg8 defined in line 89; used 2 times

- in /usr/src/usr.bin/patch/pch.c line 210, 416

Reg9 defined in line 90; used 2 times

- in /usr/src/usr.bin/patch/pch.c line 211, 438

VOIDFLAGS defined in line 116; used 1 times

- in line 117

VOIDUSED defined in line 114; used 3 times

- in line 113-117(3)

void defined in line 118; never used

#### Usage of this include

config.h used 1 times

- in /usr/src/usr.bin/patch/common.h line 17

Last modified: 1988-08-11 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1162 |