New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH 5.5.660] squash malloc.c compile warnings #1219
Comments
From domo@computer.orgOn compiling malloc.c, I see malloc.c:1391: warning: `morecore' was declared implicitly `extern' and later `static' This shuts gcc up: Inline Patch--- perl5.5.660/malloc.c-as-received Tue Feb 22 10:19:53 2000
+++ perl5.5.660/malloc.c Wed Feb 23 21:12:44 2000
@@ -972,6 +972,7 @@ Perl_malloc(register size_t nbytes)
register union overhead *p;
register int bucket;
register MEM_SIZE shiftr;
+ static void morecore(int bucket);
#if defined(DEBUGGING) || defined(RCHECK)
MEM_SIZE size = nbytes; Perl Info
|
From @jhi
Applied. Thanks. -- |
From @gsarOn Wed, 23 Feb 2000 21:23:44 +0100, Dominic Dunlop wrote:
I think the earlier declaration of morecore() and other relevant Sarathy |
Migrated from rt.perl.org#2203 (status was 'resolved')
Searchable as RT2203$
The text was updated successfully, but these errors were encountered: