]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixed prototype of random_update.
authorPhilip Homburg <philip@cs.vu.nl>
Fri, 29 Jul 2005 10:16:40 +0000 (10:16 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Fri, 29 Jul 2005 10:16:40 +0000 (10:16 +0000)
drivers/memory/random.c
drivers/memory/random.h

index f49320480d73c750e14e6c112ef8ceada30a5d3d..ce1ac1a8c67c75a68984c2a2709c67f29a45ff14 100644 (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;
index ffd6b3694c0df044f2deae716677d5773ea1e981..f1318aad24cc5304d9b5674cc152cfc7ace2a18c 100644 (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)             );