summaryrefslogtreecommitdiff
path: root/perlapi.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-02 18:45:58 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-02 18:45:58 +0000
commit7a3f225871b642595bb66695465453bbff5332c7 (patch)
tree8f004a09efa5da17001cf29652508d5f6f89edcc /perlapi.c
parent0407a77bc74fb10c233a2d09d551311e3628eba5 (diff)
downloadperl-7a3f225871b642595bb66695465453bbff5332c7.tar.gz
usethreads build fixups for NeXTstep (as suggested by Hans Mulder)
p4raw-id: //depot/perl@4746
Diffstat (limited to 'perlapi.c')
-rw-r--r--perlapi.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/perlapi.c b/perlapi.c
index d6c5d32422..d0f8a4ff47 100644
--- a/perlapi.c
+++ b/perlapi.c
@@ -2302,8 +2302,9 @@ Perl_my_atof(pTHXo_ const char *s)
#undef Perl_my_bcopy
char*
-Perl_my_bcopy(pTHXo_ const char* from, char* to, I32 len)
+Perl_my_bcopy(const char* from, char* to, I32 len)
{
+ dTHXo;
return ((CPerlObj*)pPerl)->Perl_my_bcopy(from, to, len);
}
#endif
@@ -2311,8 +2312,9 @@ Perl_my_bcopy(pTHXo_ const char* from, char* to, I32 len)
#undef Perl_my_bzero
char*
-Perl_my_bzero(pTHXo_ char* loc, I32 len)
+Perl_my_bzero(char* loc, I32 len)
{
+ dTHXo;
return ((CPerlObj*)pPerl)->Perl_my_bzero(loc, len);
}
#endif
@@ -2348,8 +2350,9 @@ Perl_my_lstat(pTHXo)
#undef Perl_my_memcmp
I32
-Perl_my_memcmp(pTHXo_ const char* s1, const char* s2, I32 len)
+Perl_my_memcmp(const char* s1, const char* s2, I32 len)
{
+ dTHXo;
return ((CPerlObj*)pPerl)->Perl_my_memcmp(s1, s2, len);
}
#endif
@@ -2357,8 +2360,9 @@ Perl_my_memcmp(pTHXo_ const char* s1, const char* s2, I32 len)
#undef Perl_my_memset
void*
-Perl_my_memset(pTHXo_ char* loc, I32 ch, I32 len)
+Perl_my_memset(char* loc, I32 ch, I32 len)
{
+ dTHXo;
return ((CPerlObj*)pPerl)->Perl_my_memset(loc, ch, len);
}
#endif