summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-12 11:02:27 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:50:42 +0100
commit04322328fc4bc2863d0bc74339ed92d33b7eaba7 (patch)
tree1d346b8714d55af8fc3c9cd112dcc1effe526b5c /proto.h
parent11568d10a6b3495b7a54f171d4134d8798fd64d6 (diff)
downloadperl-04322328fc4bc2863d0bc74339ed92d33b7eaba7.tar.gz
Assume we have C89 memset()
This means we also never need to consider using BSD bzero().
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/proto.h b/proto.h
index b02c677f32..b004723069 100644
--- a/proto.h
+++ b/proto.h
@@ -3822,11 +3822,6 @@ PERL_CALLCONV_NO_RET int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
assert(sv); assert(mg)
#endif
-#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
-PERL_CALLCONV void* Perl_my_bzero(void* vloc, size_t len);
-#define PERL_ARGS_ASSERT_MY_BZERO \
- assert(vloc)
-#endif
#if !defined(HAS_GETENV_LEN)
PERL_CALLCONV char* Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len);
#define PERL_ARGS_ASSERT_GETENV_LEN \
@@ -3845,11 +3840,6 @@ PERL_CALLCONV void* Perl_my_bcopy(const void* vfrom, void* vto, size_t len);
#define PERL_ARGS_ASSERT_MY_BCOPY \
assert(vfrom); assert(vto)
#endif
-#if !defined(HAS_MEMSET)
-PERL_CALLCONV void* Perl_my_memset(void* vloc, int ch, size_t len);
-#define PERL_ARGS_ASSERT_MY_MEMSET \
- assert(vloc)
-#endif
#if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
# if defined(PERL_IN_PP_SYS_C)
STATIC int S_dooneliner(pTHX_ const char *cmd, const char *filename)