diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-29 17:29:07 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-29 17:29:07 +0000 |
commit | dc86dda37b501f4e7680b77deeb8555508939782 (patch) | |
tree | 1a9016830fa13356657b12b6c6f6022463ee6645 /embed.pl | |
parent | 843ec94e643d29b857d63e836ccd79d1f121b005 (diff) | |
download | perl-dc86dda37b501f4e7680b77deeb8555508939782.tar.gz |
Sort out malloc_mutex for perl's malloc
Remove BINCOMPAT3 from embed.pl
Add dependancy to CORE_H for PERL95_OBJ
p4raw-id: //depot/ansiperl@333
Diffstat (limited to 'embed.pl')
-rwxr-xr-x | embed.pl | 37 |
1 files changed, 4 insertions, 33 deletions
@@ -19,7 +19,6 @@ sub readsyms (\%$) { readsyms %global, 'global.sym'; readsyms %interp, 'interp.sym'; -readsyms %compat3, 'compat3.sym'; sub hide ($$) { my ($from, $to) = @_; @@ -45,8 +44,8 @@ open(EM, '> embed.h') print EM <<'END'; /* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by embed.pl from global.sym, interp.sym, - and compat3.sym. Any changes made here will be lost! + This file is built by embed.pl from global.sym and interp.sym. + Any changes made here will be lost! */ /* (Doing namespace management portably in C is really gross.) */ @@ -68,25 +67,12 @@ print EM <<'END'; END for $sym (sort keys %global) { - print EM embed($sym) unless $compat3{$sym}; + print EM embed($sym); } -print EM <<'END'; - -/* Hide global symbols that 5.003 revealed? */ - -#ifndef BINCOMPAT3 - -END - -for $sym (sort keys %global) { - print EM embed($sym) if $compat3{$sym}; -} print EM <<'END'; -#endif /* !BINCOMPAT3 */ - #endif /* EMBED */ /* Put interpreter-specific symbols into a struct? */ @@ -118,27 +104,12 @@ print EM <<'END'; END for $sym (sort keys %interp) { - print EM embed($sym) if $compat3{$sym}; -} - -print EM <<'END'; - -/* Hide interpreter symbols that 5.003 revealed? */ - -#ifndef BINCOMPAT3 - -END - -for $sym (sort keys %interp) { - print EM embed($sym) unless $compat3{$sym}; + print EM embed($sym); } print EM <<'END'; -#endif /* !BINCOMPAT3 */ - #endif /* EMBED */ - #endif /* MULTIPLICITY */ END |