summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1997-04-27 00:00:00 +1200
committerChip Salzenberg <chip@atlantic.net>1997-04-27 00:00:00 +1200
commitc635e13b3766789d3a0231f6ee93b7f5c9f4b423 (patch)
treed153a937f14087f111426d29366ca854062fd633 /perl.h
parent0dccf24430a5250869822117cfec215176703c7f (diff)
downloadperl-c635e13b3766789d3a0231f6ee93b7f5c9f4b423.tar.gz
[inseparable changes from match from perl-5.003_97i to perl-5.003_97j]
CORE PORTABILITY Subject: Return to favoring memset(,0,) over bzero() From: Chip Salzenberg <chip@perl.com> Files: perl.h OTHER CORE CHANGES Subject: Update sprintf: '%hn'; '%s',NULL; panic on frexp() failure From: Chip Salzenberg <chip@perl.com> Files: perl.h pod/perldiag.pod sv.c
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/perl.h b/perl.h
index ac87be0b78..77ffb53841 100644
--- a/perl.h
+++ b/perl.h
@@ -340,11 +340,11 @@
#endif /* HAS_MEMCMP && HAS_SANE_MEMCMP */
#ifndef memzero
-# ifdef HAS_BZERO
-# define memzero(d,l) bzero(d,l)
+# ifdef HAS_MEMSET
+# define memzero(d,l) memset(d,0,l)
# else
-# ifdef HAS_MEMSET
-# define memzero(d,l) memset(d,0,l)
+# ifdef HAS_BZERO
+# define memzero(d,l) bzero(d,l)
# else
# define memzero(d,l) my_bzero(d,l)
# endif
@@ -1210,7 +1210,10 @@ char *strcpy(), *strcat();
# endif
double exp _((double));
double log _((double));
+ double log10 _((double));
double sqrt _((double));
+ double frexp _((double,int*));
+ double ldexp _((double,int));
double modf _((double,double*));
double sin _((double));
double cos _((double));