[hpux] (srandom, random): HP-UX has had these for ages. Remove.
This commit is contained in:
parent
9cd463f8bc
commit
6c7f707b76
1 changed files with 0 additions and 18 deletions
|
@ -33,24 +33,6 @@
|
|||
|
||||
#include "gen.h"
|
||||
|
||||
#ifdef hpux
|
||||
void
|
||||
srandom(unsigned int n)
|
||||
{
|
||||
extern void srand48();
|
||||
|
||||
srand48(n);
|
||||
}
|
||||
|
||||
long
|
||||
random(void)
|
||||
{
|
||||
extern long lrand48();
|
||||
|
||||
return (lrand48()); /* 5/28/91 by bailey@mcs.kent.edu */
|
||||
}
|
||||
#endif
|
||||
|
||||
int
|
||||
chance(double d)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue