diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-10-31 01:43:49 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-10-31 01:43:49 +0000 |
commit | 8ac853655d9b744749adcb9687c13d99cdd6e9fb (patch) | |
tree | c32146679d3473063e5fce6090b93706d7602ad6 /deb.c | |
parent | 27332437a2ed19419cce5a4de680085fd4d13c8d (diff) | |
download | perl-8ac853655d9b744749adcb9687c13d99cdd6e9fb.tar.gz |
Convert miniperl sources to ANSI C. Several passes of
GNU C's 'protoize' plus a few hand edits.
Will compile miniperl with gcc -x c++ (i.e. treat .c a C++ files)
Does not link seems gcc's C++ does not define a symbol for
const char foo[] = "....";
i.e. with empty [].
p4raw-id: //depot/ansiperl@194
Diffstat (limited to 'deb.c')
-rw-r--r-- | deb.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -88,7 +88,7 @@ deb(pat, va_alist) #endif /* !defined(I_STDARG) && !defined(I_VARARGS) */ void -deb_growlevel() +deb_growlevel(void) { dlmax += 128; Renew(debname, dlmax, char); @@ -96,7 +96,7 @@ deb_growlevel() } I32 -debstackptrs() +debstackptrs(void) { dTHR; PerlIO_printf(Perl_debug_log, "%8lx %8lx %8ld %8ld %8ld\n", @@ -110,7 +110,7 @@ debstackptrs() } I32 -debstack() +debstack(void) { dTHR; I32 top = stack_sp - stack_base; |