summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/SNIP/rndmize.c
diff options
context:
space:
mode:
Diffstat (limited to 'reference/C/CONTRIB/SNIP/rndmize.c')
-rwxr-xr-xreference/C/CONTRIB/SNIP/rndmize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/reference/C/CONTRIB/SNIP/rndmize.c b/reference/C/CONTRIB/SNIP/rndmize.c
new file mode 100755
index 0000000..6d6cfe0
--- /dev/null
+++ b/reference/C/CONTRIB/SNIP/rndmize.c
@@ -0,0 +1 @@
+srand( ((unsigned int)time(NULL)) | 1);
hes can drop distinction between __bitwise and __bitwise__. Cc: Linus Torvalds <torvalds@linux-foundation.org> Suggested-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat