Skip to content

Commit 9a66bc2

Browse files
committed
Mark do_open(), do_openn() as internal, not public
These undocumented functions have exactly 0 uses on CPAN. do_open() is mentioned in 7 distributions. In all cases it is to #undef the macro name because it was polluting the distro's name space which has its own function named do_open().
1 parent 5df7a2e commit 9a66bc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

embed.fnc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ Rp |I32 |do_ncmp |NN SV * const left \
10531053
Cp |void |do_op_dump |I32 level \
10541054
|NN PerlIO *file \
10551055
|NULLOK const OP *o
1056-
Amp |bool |do_open |NN GV *gv \
1056+
Cmp |bool |do_open |NN GV *gv \
10571057
|NN const char *name \
10581058
|I32 len \
10591059
|int as_raw \
@@ -1066,7 +1066,7 @@ px |bool |do_open6 |NN GV *gv \
10661066
|NULLOK PerlIO *supplied_fp \
10671067
|NULLOK SV **svp \
10681068
|U32 num
1069-
Ap |bool |do_openn |NN GV *gv \
1069+
Cp |bool |do_openn |NN GV *gv \
10701070
|NN const char *oname \
10711071
|I32 len \
10721072
|int as_raw \

0 commit comments

Comments
 (0)