diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-11-24 21:06:36 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-11-24 21:45:22 -0700 |
commit | 5aaab254c02795622bdf42e348ad8473aa1fc643 (patch) | |
tree | 341c84b4a4867c96c3bcd4a63d34c244356054ce /NetWare | |
parent | a8bd0d47f960000fee81e97d55dd5e8bac15e034 (diff) | |
download | perl-5aaab254c02795622bdf42e348ad8473aa1fc643.tar.gz |
Remove "register" declarations
This finishes the removal of register declarations started by
eb578fdb5569b91c28466a4d1939e381ff6ceaf4. It neglected the ones in
function parameter declarations, and didn't include things in dist, ext,
and lib, which this does include
Diffstat (limited to 'NetWare')
-rw-r--r-- | NetWare/nwhashcls.cpp | 4 | ||||
-rw-r--r-- | NetWare/sv_nw.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/NetWare/nwhashcls.cpp b/NetWare/nwhashcls.cpp index 2bf24856e5..aaf5a5c0be 100644 --- a/NetWare/nwhashcls.cpp +++ b/NetWare/nwhashcls.cpp @@ -97,7 +97,7 @@ NWPerlHashList::remove(void *ldata) } -void NWPerlHashList::forAll( register void (*user_fn)(void *, void*), void *data ) const +void NWPerlHashList::forAll( void (*user_fn)(void *, void*), void *data ) const { for(int i=0; i<BUCKET_SIZE; i++) @@ -210,7 +210,7 @@ NWPerlKeyHashList::remove(void *key) } -void NWPerlKeyHashList::forAll( register void (*user_fn)(void *, void*), void *data ) const +void NWPerlKeyHashList::forAll( void (*user_fn)(void *, void*), void *data ) const { for(int i=0; i<BUCKET_SIZE; i++) diff --git a/NetWare/sv_nw.c b/NetWare/sv_nw.c index b449dda0b1..223ff94735 100644 --- a/NetWare/sv_nw.c +++ b/NetWare/sv_nw.c @@ -9,7 +9,7 @@ void -Perl_sv_catsv(pTHX_ SV *dstr, register SV *sstr) +Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr) { sv_catsv_flags(dstr, sstr, SV_GMAGIC); } @@ -22,13 +22,13 @@ Perl_sv_catpvn(pTHX_ SV *dsv, const char* sstr, STRLEN slen) } void -Perl_sv_setsv(pTHX_ SV *dstr, register SV *sstr) +Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr) { sv_setsv_flags(dstr, sstr, SV_GMAGIC); } char * -Perl_sv_2pv(pTHX_ register SV *sv, STRLEN *lp) +Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp) { return sv_2pv_flags(sv, lp, SV_GMAGIC); } |