1: /*
2: * @(#)lmanifest.h 1.2 (Berkeley) 3/29/83
3: */
4: /* the key:
5: LDI defined and initialized: storage set aside
6: LIB defined on a library
7: LDC defined as a common region on UNIX
8: LDX defined by an extern: if ! pflag, same as LDI
9: LRV function returns a value
10: LUV function used in a value context
11: LUE function used in effects context
12: LUM mentioned somewhere other than at the declaration
13: LST defined as a static
14: */
15: # define LDI 0001
16: # define LIB 0002
17: # define LDC 0004
18: # define LDX 0010
19: # define LRV 0020
20: # define LUV 0040
21: # define LUE 0100
22: # define LUM 0200
23: # define LST 0400
24:
25: # define LFN 01000 /* filename record */
26:
27: /* number of chars in NAME */
28: #ifndef FLEXNAMES
29: # define LCHNM 8
30: #endif
31:
32: typedef struct ty {
33: TWORD aty;
34: short extra;
35: short extra1;
36: } ATYPE;
37:
38: #define X_NONAME 0x8000 /* for extra1, if structure has no name */
39:
40: typedef struct line {
41: short decflag;
42: #ifndef FLEXNAMES
43: char name[LCHNM];
44: #else
45: char *name;
46: #endif
47: short nargs;
48: short fline;
49: ATYPE type;
50: } LINE;
51:
52: union rec {
53: struct line l;
54: struct {
55: short decflag;
56: char *fn;
57: } f;
58: };
Defined struct's
line
defined in line
40; used 2 times
ty
defined in line
32; used 2 times
Defined union's
rec
defined in line
52; used 6 times
Defined typedef's
ATYPE
defined in line
36; used 9 times
LINE
defined in line
50;
never used
Defined macros
LCHNM
defined in line
29; used 7 times
LDC
defined in line
17; used 7 times
LDI
defined in line
15; used 13 times
- in /usr/src/usr.bin/lint/lint.c line
229,
610
- in /usr/src/usr.bin/lint/lpass2.c line
116,
234,
246,
265,
278(2),
289,
300,
392,
487,
535
LDX
defined in line
18; used 8 times
LFN
defined in line
25; used 5 times
LIB
defined in line
16; used 15 times
- in /usr/src/usr.bin/lint/lint.c line
229,
610,
939
- in /usr/src/usr.bin/lint/lpass2.c line
116,
234-235(2),
246,
265,
278,
289,
300,
352,
392,
488,
535
LRV
defined in line
19; used 4 times
LST
defined in line
23; used 17 times
- in /usr/src/usr.bin/lint/lint.c line
228,
609,
938
- in /usr/src/usr.bin/lint/lpass2.c line
116,
203,
234,
246,
265,
278(2),
289,
300,
381,
392-393(2),
495,
535
LUE
defined in line
21; used 8 times
LUM
defined in line
22; used 7 times
LUV
defined in line
20; used 11 times
Usage of this include