summaryrefslogtreecommitdiff
path: root/randnum.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-14 04:49:34 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-14 04:49:34 +0000
commitf067d71ef7e5bc4e670641b0499f82384f95b764 (patch)
tree02132b93280b59c3bda14c121e218d4e0f65305d /randnum.h
parent5ae2c19365594cfe6872e2a4718247d91828275b (diff)
Create randnum.h, include in relevant places
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@31 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'randnum.h')
-rw-r--r--randnum.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/randnum.h b/randnum.h
new file mode 100644
index 0000000..cf6b42b
--- /dev/null
+++ b/randnum.h
@@ -0,0 +1,5 @@
+#include <stdint.h>
+
+int32_t randwc(int32_t num);
+uint32_t abs_randwc(uint32_t num);
+int32_t randnum(int32_t lngval);