Remove vestiges of old overlay source split
[trunk only]
This commit is contained in:
16
src/rnd.c
16
src/rnd.c
@@ -16,8 +16,6 @@ extern int NDECL(rand);
|
||||
# endif
|
||||
#endif /* LINT */
|
||||
|
||||
#ifdef OVL0
|
||||
|
||||
int
|
||||
rn2(x) /* 0 <= rn2(x) < x */
|
||||
register int x;
|
||||
@@ -34,9 +32,6 @@ register int x;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* OVL0 */
|
||||
#ifdef OVLB
|
||||
|
||||
int
|
||||
rnl(x) /* 0 <= rnl(x) < x; sometimes subtracting Luck */
|
||||
register int x; /* good luck approaches 0, bad luck approaches (x-1) */
|
||||
@@ -60,9 +55,6 @@ register int x; /* good luck approaches 0, bad luck approaches (x-1) */
|
||||
return i;
|
||||
}
|
||||
|
||||
#endif /* OVLB */
|
||||
#ifdef OVL0
|
||||
|
||||
int
|
||||
rnd(x) /* 1 <= rnd(x) <= x */
|
||||
register int x;
|
||||
@@ -79,9 +71,6 @@ register int x;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* OVL0 */
|
||||
#ifdef OVL1
|
||||
|
||||
int
|
||||
d(n,x) /* n <= d(n,x) <= (n*x) */
|
||||
register int n, x;
|
||||
@@ -98,9 +87,6 @@ register int n, x;
|
||||
return(tmp); /* Alea iacta est. -- J.C. */
|
||||
}
|
||||
|
||||
#endif /* OVL1 */
|
||||
#ifdef OVLB
|
||||
|
||||
int
|
||||
rne(x)
|
||||
register int x;
|
||||
@@ -140,6 +126,4 @@ int i;
|
||||
return((int)x);
|
||||
}
|
||||
|
||||
#endif /* OVLB */
|
||||
|
||||
/*rnd.c*/
|
||||
|
||||
Reference in New Issue
Block a user