diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-11-26 18:54:13 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-11-26 18:54:13 +0000 |
commit | e3cf49e2e2df78528afdd14c4a3219cf5059e6eb (patch) | |
tree | 7b2e596d469563427ab0b39305d402c3d7e020af | |
parent | 11cd919dc47cef55287cce0322d44e19aecf3127 (diff) | |
download | perl-e3cf49e2e2df78528afdd14c4a3219cf5059e6eb.tar.gz |
vdie() isn't used anywhere aside from util.c, so it can be static.
p4raw-id: //depot/perl@34923
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | embed.h | 4 | ||||
-rw-r--r-- | proto.h | 2 | ||||
-rw-r--r-- | util.c | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -197,7 +197,7 @@ pM |void |delete_eval_scope p |void |deprecate |NN const char *const s p |void |deprecate_old |NN const char *const s Afp |OP* |die |NULLOK const char* pat|... -p |OP* |vdie |NULLOK const char* pat|NULLOK va_list* args +s |OP* |vdie |NULLOK const char* pat|NULLOK va_list* args p |OP* |die_where |NULLOK const char* message|STRLEN msglen Ap |void |dounwind |I32 cxix pmb |bool |do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp @@ -160,7 +160,7 @@ #endif #define die Perl_die #ifdef PERL_CORE -#define vdie Perl_vdie +#define vdie S_vdie #define die_where Perl_die_where #endif #define dounwind Perl_dounwind @@ -2471,7 +2471,7 @@ #define deprecate_old(a) Perl_deprecate_old(aTHX_ a) #endif #ifdef PERL_CORE -#define vdie(a,b) Perl_vdie(aTHX_ a,b) +#define vdie(a,b) S_vdie(aTHX_ a,b) #define die_where(a,b) Perl_die_where(aTHX_ a,b) #endif #define dounwind(a) Perl_dounwind(aTHX_ a) @@ -538,7 +538,7 @@ PERL_CALLCONV void Perl_deprecate_old(pTHX_ const char *const s) PERL_CALLCONV OP* Perl_die(pTHX_ const char* pat, ...) __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2); -PERL_CALLCONV OP* Perl_vdie(pTHX_ const char* pat, va_list* args); +STATIC OP* S_vdie(pTHX_ const char* pat, va_list* args); PERL_CALLCONV OP* Perl_die_where(pTHX_ const char* message, STRLEN msglen); PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix); /* PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp) @@ -1363,7 +1363,7 @@ S_vdie_croak_common(pTHX_ const char* pat, va_list* args, STRLEN* msglen, } OP * -Perl_vdie(pTHX_ const char* pat, va_list *args) +S_vdie(pTHX_ const char* pat, va_list *args) { dVAR; const char *message; |