diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-05-01 23:25:30 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-05-01 23:25:30 +0000 |
commit | 74d5ed12f2c8cab97d22a9affcb3e8e87bad2b7b (patch) | |
tree | 27dbb4ce2e86189b8ef20a73d865809ce0b246c5 | |
parent | a6fd7f3f0e271856b7ecf5cd1e2906924a6b206a (diff) | |
download | perl-74d5ed12f2c8cab97d22a9affcb3e8e87bad2b7b.tar.gz |
Reverting context removal from change #27992. This should
clear up threaded builds on Win32 and VMS.
p4raw-link: @27992 on //depot/perl: df528165173896ed88fc3da7e1aa8bc3ef3b2416
p4raw-id: //depot/perl@28041
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | embed.h | 2 | ||||
-rw-r--r-- | pp_ctl.c | 2 | ||||
-rw-r--r-- | proto.h | 6 |
4 files changed, 6 insertions, 6 deletions
@@ -1237,7 +1237,7 @@ sR |I32 |dopoptosub_at |NN const PERL_CONTEXT* cxstk|I32 startingblock sR |I32 |dopoptowhen |I32 startingblock s |void |save_lines |NULLOK AV *array|NN SV *sv sR |OP* |doeval |int gimme|NULLOK OP** startop|NULLOK CV* outside|U32 seq -sRn |PerlIO *|check_type_and_open|NN const char *name|NN const char *mode +sR |PerlIO *|check_type_and_open|NN const char *name|NN const char *mode sR |PerlIO *|doopen_pm |NN const char *name|NN const char *mode sRn |bool |path_is_absolute|NN const char *name sR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen @@ -3400,7 +3400,7 @@ #define dopoptowhen(a) S_dopoptowhen(aTHX_ a) #define save_lines(a,b) S_save_lines(aTHX_ a,b) #define doeval(a,b,c,d) S_doeval(aTHX_ a,b,c,d) -#define check_type_and_open S_check_type_and_open +#define check_type_and_open(a,b) S_check_type_and_open(aTHX_ a,b) #define doopen_pm(a,b) S_doopen_pm(aTHX_ a,b) #define path_is_absolute S_path_is_absolute #define run_user_filter(a,b,c) S_run_user_filter(aTHX_ a,b,c) @@ -3026,7 +3026,7 @@ S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq) } STATIC PerlIO * -S_check_type_and_open(const char *name, const char *mode) +S_check_type_and_open(pTHX_ const char *name, const char *mode) { Stat_t st; const int st_rc = PerlLIO_stat(name, &st); @@ -3379,10 +3379,10 @@ STATIC void S_save_lines(pTHX_ AV *array, SV *sv) STATIC OP* S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq) __attribute__warn_unused_result__; -STATIC PerlIO * S_check_type_and_open(const char *name, const char *mode) +STATIC PerlIO * S_check_type_and_open(pTHX_ const char *name, const char *mode) __attribute__warn_unused_result__ - __attribute__nonnull__(1) - __attribute__nonnull__(2); + __attribute__nonnull__(pTHX_1) + __attribute__nonnull__(pTHX_2); STATIC PerlIO * S_doopen_pm(pTHX_ const char *name, const char *mode) __attribute__warn_unused_result__ |