public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
781a121
)
declare some variables in init.c instead of runtime startoff
author
ceriel
<none@none>
Tue, 3 May 1988 12:44:32 +0000
(12:44 +0000)
committer
ceriel
<none@none>
Tue, 3 May 1988 12:44:32 +0000
(12:44 +0000)
lang/m2/libm2/head_m2.e
patch
|
blob
|
history
lang/m2/libm2/init.c
patch
|
blob
|
history
diff --git
a/lang/m2/libm2/head_m2.e
b/lang/m2/libm2/head_m2.e
index
84caaac
..
b49cf17
100644
(file)
--- a/
lang/m2/libm2/head_m2.e
+++ b/
lang/m2/libm2/head_m2.e
@@
-26,24
+26,6
@@
exp $init
inp $trap_handler
-handler
- con $catch
-environ
- bss EM_PSIZE,0,0
-argv
- bss EM_PSIZE,0,0
-argc
- bss EM_WSIZE,0,0
-CurrentProcess
- bss EM_PSIZE,0,0
-MainProcess
- bss EM_PSIZE,0,0
-StackBase
- bss EM_PSIZE,0,0
-MainLB
- bss EM_PSIZE,0,0
-StackSize
- bss EM_WSIZE,0,0
mainroutine
bss 2*EM_PSIZE,0,0
diff --git
a/lang/m2/libm2/init.c
b/lang/m2/libm2/init.c
index
9dc40a4
..
f94e076
100644
(file)
--- a/
lang/m2/libm2/init.c
+++ b/
lang/m2/libm2/init.c
@@
-25,3
+25,10
@@
init()
sigtrp(M2_UNIXSIG, SIGALRM);
sigtrp(M2_UNIXSIG, SIGTERM);
}
+
+extern int catch();
+
+int (*handler)() = catch;
+char **argv, **environ;
+int argc, StackSize;
+char *CurrentProcess, MainProcess, StackBase, MainLB;