Fixed prototype of random_update.
This commit is contained in:
parent
a7487a5c3c
commit
f6b0544de9
|
@ -64,7 +64,7 @@ PUBLIC int random_isseeded()
|
||||||
|
|
||||||
PUBLIC void random_update(source, buf, count)
|
PUBLIC void random_update(source, buf, count)
|
||||||
int source;
|
int source;
|
||||||
unsigned long *buf;
|
unsigned short *buf;
|
||||||
int count;
|
int count;
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -6,7 +6,7 @@ Public interface to the random number generator
|
||||||
|
|
||||||
_PROTOTYPE( void random_init, (void) );
|
_PROTOTYPE( void random_init, (void) );
|
||||||
_PROTOTYPE( int random_isseeded, (void) );
|
_PROTOTYPE( int random_isseeded, (void) );
|
||||||
_PROTOTYPE( void random_update, (int source, unsigned long *buf,
|
_PROTOTYPE( void random_update, (int source, unsigned short *buf,
|
||||||
int count) );
|
int count) );
|
||||||
_PROTOTYPE( void random_getbytes, (void *buf, size_t size) );
|
_PROTOTYPE( void random_getbytes, (void *buf, size_t size) );
|
||||||
_PROTOTYPE( void random_putbytes, (void *buf, size_t size) );
|
_PROTOTYPE( void random_putbytes, (void *buf, size_t size) );
|
||||||
|
|
Loading…
Reference in a new issue