summaryrefslogtreecommitdiff
blob: 3655a6bb067ee587b829304ec56f51b6ee929ea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
diff -ur dmake.orig/dbug/malloc/testmem.c dmake-4.1/dbug/malloc/testmem.c
--- dmake.orig/dbug/malloc/testmem.c	1997-07-15 17:02:26.000000000 +0100
+++ dmake-4.1/dbug/malloc/testmem.c	2003-03-10 15:02:38.000000000 +0000
@@ -64,7 +64,7 @@
 int f;
 extern char *sys_errlist[];
 extern int sys_nerr;
-extern int errno;
+#include <errno.h>
 #endif
 
 /* ARGSUSED */
diff -ur dmake.orig/qssl/runargv.c dmake-4.1/qssl/runargv.c
--- dmake.orig/qssl/runargv.c	1997-07-15 17:02:29.000000000 +0100
+++ dmake-4.1/qssl/runargv.c	2003-03-10 15:03:09.000000000 +0000
@@ -24,6 +24,7 @@
 */
 
 #include <signal.h>
+#include <errno.h>
 #include "extern.h"
 #include "sysintf.h"
 
@@ -67,7 +68,6 @@
 int     shell;
 char	*cmd;
 {
-   extern  int  errno;
    int          pid;
    char         **argv;
 
diff -ur dmake.orig/qssl/stdlib.h dmake-4.1/qssl/stdlib.h
--- dmake.orig/qssl/stdlib.h	1997-07-15 17:02:29.000000000 +0100
+++ dmake-4.1/qssl/stdlib.h	2003-03-10 15:03:35.000000000 +0000
@@ -39,7 +39,7 @@
 extern free();
 #endif
 
-extern int errno;
+#include <errno.h>
 
 #ifndef EIO
 #	include <errno.h>
diff -ur dmake.orig/unix/386ix/stdlib.h dmake-4.1/unix/386ix/stdlib.h
--- dmake.orig/unix/386ix/stdlib.h	1997-07-15 17:02:34.000000000 +0100
+++ dmake-4.1/unix/386ix/stdlib.h	2003-03-10 15:04:33.000000000 +0000
@@ -35,7 +35,7 @@
 extern char *malloc();
 extern char *realloc();
 extern free();
-extern int errno;
+#include <errno.h>
 
 #ifndef EIO
 #	include <errno.h>
diff -ur dmake.orig/unix/bsd43/stdlib.h dmake-4.1/unix/bsd43/stdlib.h
--- dmake.orig/unix/bsd43/stdlib.h	1997-07-15 17:02:35.000000000 +0100
+++ dmake-4.1/unix/bsd43/stdlib.h	2003-03-10 15:04:55.000000000 +0000
@@ -35,7 +35,7 @@
 extern char *malloc();
 extern char *realloc();
 extern free();
-extern int errno;
+#include <errno.h>
 
 #ifndef EIO
 #	include <errno.h>
diff -ur dmake.orig/unix/coherent/stdlib.h dmake-4.1/unix/coherent/stdlib.h
--- dmake.orig/unix/coherent/stdlib.h	1997-07-15 17:02:35.000000000 +0100
+++ dmake-4.1/unix/coherent/stdlib.h	2003-03-10 15:05:33.000000000 +0000
@@ -35,7 +35,7 @@
 extern char *malloc();
 extern char *realloc();
 extern free();
-extern int errno;
+#include <errno.h>
 
 #ifndef EIO
 #	include <errno.h>
diff -ur dmake.orig/unix/runargv.c dmake-4.1/unix/runargv.c
--- dmake.orig/unix/runargv.c	1997-07-15 17:02:34.000000000 +0100
+++ dmake-4.1/unix/runargv.c	2003-03-10 15:05:53.000000000 +0000
@@ -24,6 +24,7 @@
 */
 
 #include <signal.h>
+#include <errno.h>
 #include "extern.h"
 #include "sysintf.h"
 
@@ -67,8 +68,7 @@
 int     shell;
 char	*cmd;
 {
-   extern  int  errno;
-   extern  char *sys_errlist[];
+   
    int          pid;
    char         **argv;
 
diff -ur dmake.orig/unix/startup.h dmake-4.1/unix/startup.h
--- dmake.orig/unix/startup.h	1997-07-15 17:02:34.000000000 +0100
+++ dmake-4.1/unix/startup.h	2003-03-10 15:00:46.000000000 +0000
@@ -24,4 +24,4 @@
 --      Use cvs log to obtain detailed change logs.
 */
 
-"MAKESTARTUP := $(ROOTDIR)/usr/local/lib/dmake/startup/startup.mk",
+"MAKESTARTUP := $(ROOTDIR)/usr/share/dmake/startup/startup.mk",
diff -ur dmake.orig/unix/sysvr1/stdlib.h dmake-4.1/unix/sysvr1/stdlib.h
--- dmake.orig/unix/sysvr1/stdlib.h	1997-07-15 17:02:36.000000000 +0100
+++ dmake-4.1/unix/sysvr1/stdlib.h	2003-03-10 15:06:16.000000000 +0000
@@ -35,7 +35,7 @@
 extern char *malloc();
 extern char *realloc();
 extern free();
-extern int errno;
+#include <errno.h>
 
 #ifndef EIO
 #	include <errno.h>
diff -ur dmake.orig/unix/sysvr3/stdlib.h dmake-4.1/unix/sysvr3/stdlib.h
--- dmake.orig/unix/sysvr3/stdlib.h	1997-07-15 17:02:36.000000000 +0100
+++ dmake-4.1/unix/sysvr3/stdlib.h	2003-03-10 15:06:50.000000000 +0000
@@ -46,10 +46,6 @@
 #define NAME_MAX pathconf("/dev/null",_PC_NAME_MAX)
 #endif
 
-extern int errno;
-
-#ifndef EIO
-#	include <errno.h>
-#endif
+#include <errno.h>
 
 #endif /* _STDLIB_INCLUDED_ */
diff -ur dmake.orig/unix/xenix/stdlib.h dmake-4.1/unix/xenix/stdlib.h
--- dmake.orig/unix/xenix/stdlib.h	1997-07-15 17:02:36.000000000 +0100
+++ dmake-4.1/unix/xenix/stdlib.h	2003-03-10 15:05:15.000000000 +0000
@@ -41,7 +41,7 @@
 extern free();
 #endif
 
-extern int errno;
+#include <errno.h>
 
 #ifndef EIO
 #	include <errno.h>
diff -ur dmake.orig/win95/microsft/vpp40/runargv.c dmake-4.1/win95/microsft/vpp40/runargv.c
--- dmake.orig/win95/microsft/vpp40/runargv.c	1997-07-15 17:02:37.000000000 +0100
+++ dmake-4.1/win95/microsft/vpp40/runargv.c	2003-03-10 15:07:06.000000000 +0000
@@ -73,7 +73,6 @@
 int     shell;
 char	*cmd;
 {
-   extern  int  errno;
    extern  char *sys_errlist[];
    int          pid;
    char         **argv;
diff -ur dmake.orig/winnt/microsft/vpp40/runargv.c dmake-4.1/winnt/microsft/vpp40/runargv.c
--- dmake.orig/winnt/microsft/vpp40/runargv.c	1997-07-15 17:02:38.000000000 +0100
+++ dmake-4.1/winnt/microsft/vpp40/runargv.c	2003-03-10 15:07:21.000000000 +0000
@@ -73,7 +73,6 @@
 int     shell;
 char	*cmd;
 {
-   extern  int  errno;
    extern  char *sys_errlist[];
    int          pid;
    char         **argv;