aboutsummaryrefslogtreecommitdiff
path: root/common/xorshift.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/xorshift.h')
-rw-r--r--common/xorshift.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/xorshift.h b/common/xorshift.h
new file mode 100644
index 0000000..8d9f448
--- /dev/null
+++ b/common/xorshift.h
@@ -0,0 +1,8 @@
+#ifndef __XORSHIFT_H__
+#define __XORSHIFT_H__
+
+#include <stdint.h>
+
+uint32_t xorshift32(uint32_t x);
+
+#endif /* __XORSHIFT_H__ */