From: Florian Ragwitz Date: Sat, 15 Nov 2008 15:00:44 +0000 (+0000) Subject: Don't declare return values for PPCODE. X-Git-Tag: 0.69_01~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e2c189ae0104617a64dfc2f140a4abf05468c349;p=gitmo%2FClass-MOP.git Don't declare return values for PPCODE. This silences some more compiler warnings. --- diff --git a/MOP.xs b/MOP.xs index 2e32986..cc532e1 100644 --- a/MOP.xs +++ b/MOP.xs @@ -170,7 +170,7 @@ get_all_package_symbols(self, ...) } -SV * +void name(self) SV *self PREINIT: @@ -187,7 +187,7 @@ name(self) MODULE = Class::MOP PACKAGE = Class::MOP::Attribute -SV * +void name(self) SV *self PREINIT: @@ -204,7 +204,7 @@ name(self) MODULE = Class::MOP PACKAGE = Class::MOP::Method -SV * +void name(self) SV *self PREINIT: @@ -219,7 +219,7 @@ name(self) else ST(0) = &PL_sv_undef; -SV * +void package_name(self) SV *self PREINIT: @@ -234,7 +234,7 @@ package_name(self) else ST(0) = &PL_sv_undef; -SV * +void body(self) SV *self PREINIT: