This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
silence some clang warnings
authorDavid Mitchell <davem@iabyn.com>
Tue, 4 Dec 2012 13:22:41 +0000 (13:22 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 4 Dec 2012 13:39:55 +0000 (13:39 +0000)
commitccde85316a0db149f30359ebfdf031ef602b0344
tree5f9accee8d15f9bd5574b53db1b871cc6bf945a4
parentc434e88d3bead3f9417903defe6f23a1ad0ca522
silence some clang warnings

principally, proto.h was sometimes being included twice - once before
a fn decl, and once after - giving rise to a 'decl after def' warning.

Also, S_croak_memory_wrap was declared static in every source file, but
not used in some. So selectively disable the unused-function warning.
dquote_static.c
dump.c
embed.fnc
embed.h
inline.h
proto.h