Eric J Kidder, to solve a name conflict on HP_UX 11.00.
p4raw-id: //depot/perl@20170
p |I32 |wait4pid |Pid_t pid|int* statusp|int flags
p |U32 |parse_unicode_opts|char **popt
p |U32 |seed
-p |UV |get_seed
+p |UV |get_hash_seed
p |void |report_evil_fh |GV *gv|IO *io|I32 op
pd |void |report_uninit
Afpd |void |warn |const char* pat|...
#define seed Perl_seed
#endif
#ifdef PERL_CORE
-#define get_seed Perl_get_seed
+#define get_hash_seed Perl_get_hash_seed
#endif
#ifdef PERL_CORE
#define report_evil_fh Perl_report_evil_fh
#define seed() Perl_seed(aTHX)
#endif
#ifdef PERL_CORE
-#define get_seed() Perl_get_seed(aTHX)
+#define get_hash_seed() Perl_get_hash_seed(aTHX)
#endif
#ifdef PERL_CORE
#define report_evil_fh(a,b,c) Perl_report_evil_fh(aTHX_ a,b,c)
* If you set PL_hash_seed (and assumedly also PL_hash_seed_set) yourself,
* it is your responsibility to provide a good random seed! */
if (!PL_hash_seed_set)
- PL_hash_seed = get_seed();
+ PL_hash_seed = get_hash_seed();
{
char *s = PerlEnv_getenv("PERL_HASH_SEED_DEBUG");
PERL_CALLCONV I32 Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags);
PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ char **popt);
PERL_CALLCONV U32 Perl_seed(pTHX);
-PERL_CALLCONV UV Perl_get_seed(pTHX);
+PERL_CALLCONV UV Perl_get_hash_seed(pTHX);
PERL_CALLCONV void Perl_report_evil_fh(pTHX_ GV *gv, IO *io, I32 op);
PERL_CALLCONV void Perl_report_uninit(pTHX);
PERL_CALLCONV void Perl_warn(pTHX_ const char* pat, ...)
}
UV
-Perl_get_seed(pTHX)
+Perl_get_hash_seed(pTHX)
{
char *s = PerlEnv_getenv("PERL_HASH_SEED");
UV myseed = 0;