|
Lines 1-6
Link Here
|
| 1 |
diff -u -x CVS -x work -x core -x *.core -x #* -x *~ -x *.orig -x *.rej -I $Id.*$ -I $.+BSD.*$ mode.h.orig mode.h |
1 |
--- mode.h.orig Mon Oct 2 15:16:25 2006 |
| 2 |
--- mode.h.orig Fri Jun 4 02:51:02 2004 |
2 |
+++ mode.h Mon Oct 2 15:17:01 2006 |
| 3 |
+++ mode.h Sat Jun 19 18:42:23 2004 |
|
|
| 4 |
@@ -1,6 +1,10 @@ |
3 |
@@ -1,6 +1,10 @@ |
| 5 |
# |
4 |
# |
| 6 |
/* |
5 |
/* |
|
Lines 57-72
Link Here
|
| 57 |
STRUCT forknod *FORKPTR; |
56 |
STRUCT forknod *FORKPTR; |
| 58 |
STRUCT comnod *COMPTR; |
57 |
STRUCT comnod *COMPTR; |
| 59 |
STRUCT swnod *SWPTR; |
58 |
STRUCT swnod *SWPTR; |
| 60 |
@@ -44,7 +63,7 @@ |
59 |
@@ -43,8 +62,7 @@ |
|
|
60 |
STRUCT namnod *NAMPTR; |
| 61 |
STRUCT sysnod SYSNOD; |
61 |
STRUCT sysnod SYSNOD; |
| 62 |
STRUCT sysnod *SYSPTR; |
62 |
STRUCT sysnod *SYSPTR; |
| 63 |
STRUCT sysnod SYSTAB[]; |
63 |
-STRUCT sysnod SYSTAB[]; |
| 64 |
-#define NIL ((char*)0) |
64 |
-#define NIL ((char*)0) |
| 65 |
+#define NIL ((void*)0) |
65 |
+#define NIL ((void*)0) |
| 66 |
|
66 |
|
| 67 |
|
67 |
|
| 68 |
/* the following nonsense is required |
68 |
/* the following nonsense is required |
| 69 |
@@ -52,8 +71,12 @@ |
69 |
@@ -52,8 +70,12 @@ |
| 70 |
* into an Rvalue so two cheats |
70 |
* into an Rvalue so two cheats |
| 71 |
* are necessary, one for each context. |
71 |
* are necessary, one for each context. |
| 72 |
*/ |
72 |
*/ |
|
Lines 81-87
Link Here
|
| 81 |
#define Rcheat(a) ((int)(a)) |
81 |
#define Rcheat(a) ((int)(a)) |
| 82 |
|
82 |
|
| 83 |
|
83 |
|
| 84 |
@@ -69,11 +92,13 @@ |
84 |
@@ -69,11 +91,13 @@ |
| 85 |
BLKPTR _blkptr; |
85 |
BLKPTR _blkptr; |
| 86 |
NAMPTR _namptr; |
86 |
NAMPTR _namptr; |
| 87 |
BYTPTR _bytptr; |
87 |
BYTPTR _bytptr; |
|
Lines 96-102
Link Here
|
| 96 |
|
96 |
|
| 97 |
|
97 |
|
| 98 |
/* heap storage */ |
98 |
/* heap storage */ |
| 99 |
@@ -90,7 +115,7 @@ |
99 |
@@ -90,7 +114,7 @@ |
| 100 |
STRING fnxt; |
100 |
STRING fnxt; |
| 101 |
STRING fend; |
101 |
STRING fend; |
| 102 |
STRING *feval; |
102 |
STRING *feval; |
|
Lines 105-111
Link Here
|
| 105 |
CHAR fbuf[BUFSIZ]; |
105 |
CHAR fbuf[BUFSIZ]; |
| 106 |
}; |
106 |
}; |
| 107 |
|
107 |
|
| 108 |
@@ -103,21 +128,15 @@ |
108 |
@@ -103,20 +127,16 @@ |
| 109 |
STRING fnxt; |
109 |
STRING fnxt; |
| 110 |
STRING fend; |
110 |
STRING fend; |
| 111 |
STRING *feval; |
111 |
STRING *feval; |
|
Lines 125-135
Link Here
|
| 125 |
- INT tretyp; |
125 |
- INT tretyp; |
| 126 |
- IOPTR treio; |
126 |
- IOPTR treio; |
| 127 |
-}; |
127 |
-}; |
| 128 |
- |
128 |
+STRUCT sysnod SYSTAB[]; |
|
|
129 |
|
| 129 |
/* dummy for access only */ |
130 |
/* dummy for access only */ |
| 130 |
struct argnod { |
131 |
struct argnod { |
| 131 |
ARGPTR argnxt; |
132 |
@@ -203,3 +223,16 @@ |
| 132 |
@@ -203,3 +222,16 @@ |
|
|
| 133 |
#define PARTYPE (sizeof(struct parnod)) |
133 |
#define PARTYPE (sizeof(struct parnod)) |
| 134 |
#define LSTTYPE (sizeof(struct lstnod)) |
134 |
#define LSTTYPE (sizeof(struct lstnod)) |
| 135 |
#define IOTYPE (sizeof(struct ionod)) |
135 |
#define IOTYPE (sizeof(struct ionod)) |