Fixed prototype of random_update.

This commit is contained in:
Philip Homburg 2005-07-29 10:16:40 +00:00
parent a7487a5c3c
commit f6b0544de9
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ PUBLIC int random_isseeded()
PUBLIC void random_update(source, buf, count)
int source;
unsigned long *buf;
unsigned short *buf;
int count;
{
int i;

View file

@ -6,7 +6,7 @@ Public interface to the random number generator
_PROTOTYPE( void random_init, (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) );
_PROTOTYPE( void random_getbytes, (void *buf, size_t size) );
_PROTOTYPE( void random_putbytes, (void *buf, size_t size) );