BSD 4_1_snap development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 8 Aug 1980 17:58:25 +0000 (09:58 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 8 Aug 1980 17:58:25 +0000 (09:58 -0800)
Work on file usr/src/cmd/lint/lmanifest

Synthesized-from: CSRG/cd1/4.1.snap

usr/src/cmd/lint/lmanifest [new file with mode: 0644]

diff --git a/usr/src/cmd/lint/lmanifest b/usr/src/cmd/lint/lmanifest
new file mode 100644 (file)
index 0000000..8ca71cf
--- /dev/null
@@ -0,0 +1,55 @@
+/*     the key:
+       LDI     defined and initialized: storage set aside
+       LIB     defined on a library
+       LDC     defined as a common region on UNIX
+       LDX     defined by an extern: if ! pflag, same as LDI
+       LRV     function returns a value
+       LUV     function used in a value context
+       LUE     function used in effects context
+       LUM     mentioned somewhere other than at the declaration
+       */
+# define LDI 01
+# define LIB 02
+# define LDC 04
+# define LDX 010
+# define LRV 020
+# define LUV 040
+# define LUE 0100
+# define LUM 0200
+
+# define LFN 0400  /* filename record */
+
+       /* number of chars in NAME, and filename */
+#ifndef FLEXNAMES
+# define LCHNM 8
+# define LFNM 14
+#endif
+
+typedef struct ty {
+       TWORD aty;
+       short extra;
+       } ATYPE;
+
+typedef struct line {
+       short decflag;
+#ifndef FLEXNAMES
+       char name[LCHNM];
+#else
+       char *name;
+#endif
+       short nargs;
+       short fline;
+       ATYPE type;
+       } LINE;
+
+union rec {
+       struct line l;
+       struct {
+               short decflag;
+#ifndef FLEXNAMES
+               char fn[LFNM];
+#else
+               char *fn;
+#endif
+               } f;
+       };