summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-08-17 22:47:40 +0200
committerMartin Mares <mj@ucw.cz>1999-08-17 22:47:40 +0200
commitf651941402079052fbdabf64092e7dd4a6a8cafe (patch)
tree9087136902af4fd9acf4965e63df372f45c8187a /lib
parentb332fcdfc8f0b1ac7111a63c55f72ba4b00b8035 (diff)
downloadbird-f651941402079052fbdabf64092e7dd4a6a8cafe.tar
bird-f651941402079052fbdabf64092e7dd4a6a8cafe.zip
Added a function for generating 32-bit random numbers.
Diffstat (limited to 'lib')
-rw-r--r--lib/birdlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h
index b57478d..93ac38e 100644
--- a/lib/birdlib.h
+++ b/lib/birdlib.h
@@ -63,4 +63,8 @@ void debug(char *msg, ...); /* Printf to debug output */
#define ASSERT(x) do { } while(0)
#endif
+/* Pseudorandom numbers */
+
+u32 random_u32(void);
+
#endif