1 |
< |
/* Copyright (c) 1991 Regents of the University of California */ |
1 |
> |
/* Copyright (c) 1992 Regents of the University of California */ |
2 |
|
|
3 |
|
#ifndef lint |
4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
14 |
|
|
15 |
|
extern char *malloc(); |
16 |
|
|
17 |
< |
short *urperm; /* urand() permutation */ |
17 |
> |
short *urperm = NULL; /* urand() permutation */ |
18 |
|
int urmask; /* bits used in permutation */ |
19 |
|
|
20 |
|
|
24 |
|
int order, n; |
25 |
|
register int i, offset; |
26 |
|
|
27 |
+ |
if (urperm != NULL) |
28 |
+ |
free((char *)urperm); |
29 |
|
size--; |
30 |
|
for (i = 1; size >>= 1; i++) |
31 |
|
; |