Changing get_isa_hash() to static means that it needs to be wrapped in
authorNicholas Clark <nick@ccl4.org>
Sat, 3 Jan 2009 18:04:17 +0000 (18:04 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 3 Jan 2009 18:05:51 +0000 (18:05 +0000)
an #if defined(PERL_IN_UNIVERSAL_C).

embed.fnc
proto.h

index 1a053e8..4a9d6ce 100644 (file)
--- a/embed.fnc
+++ b/embed.fnc
@@ -1830,6 +1830,7 @@ s |void   |printbuf       |NN const char *const fmt|NN const char *const s
 
 #if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT)
 s      |bool|isa_lookup        |NN HV *stash|NN const char * const name
+so     |HV *   |get_isa_hash   |NN HV *const stash
 #endif
 
 #if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT)
@@ -2218,7 +2219,6 @@ ApoM      |const char *|fetch_cop_label|NULLOK struct refcounted_he *const chain \
 : Only used  in op.c
 xpoM   |struct refcounted_he *|store_cop_label \
                |NULLOK struct refcounted_he *const chain|NN const char *label
-so     |HV *   |get_isa_hash   |NN HV *const stash
 
 END_EXTERN_C
 /*
diff --git a/proto.h b/proto.h
index 1efa37e..d23ae7d 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -5871,6 +5871,11 @@ STATIC bool      S_isa_lookup(pTHX_ HV *stash, const char * const name)
 #define PERL_ARGS_ASSERT_ISA_LOOKUP    \
        assert(stash); assert(name)
 
+STATIC HV *    S_get_isa_hash(pTHX_ HV *const stash)
+                       __attribute__nonnull__(pTHX_1);
+#define PERL_ARGS_ASSERT_GET_ISA_HASH  \
+       assert(stash)
+
 #endif
 
 #if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT)
@@ -6649,11 +6654,6 @@ PERL_CALLCONV struct refcounted_he *     Perl_store_cop_label(pTHX_ struct refcounte
 #define PERL_ARGS_ASSERT_STORE_COP_LABEL       \
        assert(label)
 
-STATIC HV *    S_get_isa_hash(pTHX_ HV *const stash)
-                       __attribute__nonnull__(pTHX_1);
-#define PERL_ARGS_ASSERT_GET_ISA_HASH  \
-       assert(stash)
-
 
 END_EXTERN_C
 /*