summaryrefslogtreecommitdiff
path: root/mro.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-09-12 00:09:18 +0000
committerNicholas Clark <nick@ccl4.org>2007-09-12 00:09:18 +0000
commit4befac30287793f3de4eeec4608be8e6a4c07763 (patch)
treea60e146d619a442286ecd039b80283c7e52b18cc /mro.c
parentaab9a3b697e77c80c3ac8b3db60730d246a5fbf5 (diff)
downloadperl-4befac30287793f3de4eeec4608be8e6a4c07763.tar.gz
mro_get_linear_isa_dfs and mro_get_linear_isa_c3 can have static
linkage. p4raw-id: //depot/perl@31849
Diffstat (limited to 'mro.c')
-rw-r--r--mro.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mro.c b/mro.c
index 80f11db071..8634ccb3eb 100644
--- a/mro.c
+++ b/mro.c
@@ -21,6 +21,7 @@ These functions are related to the method resolution order of perl classes
*/
#include "EXTERN.h"
+#define PERL_IN_MRO_C
#include "perl.h"
struct mro_meta*
@@ -83,8 +84,8 @@ invalidated).
=cut
*/
-AV*
-Perl_mro_get_linear_isa_dfs(pTHX_ HV *stash, I32 level)
+static AV*
+S_mro_get_linear_isa_dfs(pTHX_ HV *stash, I32 level)
{
AV* retval;
GV** gvp;
@@ -197,8 +198,8 @@ invalidated).
=cut
*/
-AV*
-Perl_mro_get_linear_isa_c3(pTHX_ HV* stash, I32 level)
+static AV*
+S_mro_get_linear_isa_c3(pTHX_ HV* stash, I32 level)
{
AV* retval;
GV** gvp;