Skip to content

Commit

Permalink
improve code as per ppport.h suggestions
Browse files Browse the repository at this point in the history
I checked them all and they look sensible.
  • Loading branch information
karenetheridge committed Dec 7, 2017
1 parent d31a074 commit 66a934c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Parser.xs
Expand Up @@ -5,7 +5,7 @@
#include "perl.h"
#include "XSUB.h"

#define NEED_PL_parser
#define NEED_PL_parser_GLOBAL
#include "ppport.h"

#include "hook_parser.h"
Expand Down
4 changes: 2 additions & 2 deletions stolen_chunk_of_toke.c
Expand Up @@ -19,7 +19,7 @@

#include "EXTERN.h"
#include "perl.h"
#define NEED_PL_parser
#define NEED_sv_2pv_flags
#include "ppport.h"

/* the following #defines are stolen from assorted headers, not toke.c (mst) */
Expand Down Expand Up @@ -128,7 +128,7 @@ static const char c_in_subst[] =
/* Invoke the idxth filter function for the current rsfp. */
/* maxlen 0 = read one text line */
I32
Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
{
filter_t funcp;
SV *datasv = NULL;
Expand Down

0 comments on commit 66a934c

Please sign in to comment.