1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Split random number functions off io.c, so that they can be documented

separately.
This commit is contained in:
Martin Mares
2000-06-05 11:46:40 +00:00
parent 5cc1e1f805
commit 10304bed43
4 changed files with 23 additions and 15 deletions

View File

@@ -28,20 +28,6 @@
#include "lib/unix.h"
#include "lib/sysio.h"
/*
* Random Numbers
*/
u32
random_u32(void)
{
long int rand_low, rand_high;
rand_low = random();
rand_high = random();
return (rand_low & 0xffff) | ((rand_high & 0xffff) << 16);
}
/*
* Tracked Files
*/