summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2012-12-04 13:22:41 +0000
committerDavid Mitchell <davem@iabyn.com>2012-12-04 13:39:55 +0000
commitccde85316a0db149f30359ebfdf031ef602b0344 (patch)
tree5f9accee8d15f9bd5574b53db1b871cc6bf945a4 /dump.c
parentc434e88d3bead3f9417903defe6f23a1ad0ca522 (diff)
downloadperl-ccde85316a0db149f30359ebfdf031ef602b0344.tar.gz
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.
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dump.c b/dump.c
index f1622a985b..15beb69489 100644
--- a/dump.c
+++ b/dump.c
@@ -26,7 +26,6 @@
#define PERL_IN_DUMP_C
#include "perl.h"
#include "regcomp.h"
-#include "proto.h"
static const char* const svtypenames[SVt_LAST] = {