From: Florian Ragwitz Date: Sun, 12 Oct 2008 14:26:12 +0000 (+0000) Subject: clear_lex_stuff returns void, not char *. X-Git-Tag: 0.005000~70 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bd85a06e1132023bb33344f1c6c3325a4e754a66;p=p5sagit%2FDevel-Declare.git clear_lex_stuff returns void, not char *. --- diff --git a/Declare.xs b/Declare.xs index 3ad99ad..3b8c5dd 100644 --- a/Declare.xs +++ b/Declare.xs @@ -126,7 +126,7 @@ char* dd_get_lex_stuff(pTHX) { return (DD_HAVE_LEX_STUFF ? SvPVX(PL_lex_stuff) : ""); } -char* dd_clear_lex_stuff(pTHX) { +void dd_clear_lex_stuff(pTHX) { if (DD_HAVE_PARSER) PL_lex_stuff = (SV*)NULL; }