aboutsummaryrefslogtreecommitdiff
path: root/shell/random.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-07-25 10:41:42 +0100
committerRon Yorston <rmy@pobox.com>2018-07-25 10:41:42 +0100
commit59873514f17cefd6ba3997dad5779f75433fd4e6 (patch)
tree1c9d0a3450ed95f0b820285b9f9fc217c902e652 /shell/random.c
parent779fd5745ac11bf752f5f4b977a274a39c192f90 (diff)
parent81de30de05beebabfa72f2a01ec4f33e9a1923e3 (diff)
downloadbusybox-w32-59873514f17cefd6ba3997dad5779f75433fd4e6.tar.gz
busybox-w32-59873514f17cefd6ba3997dad5779f75433fd4e6.tar.bz2
busybox-w32-59873514f17cefd6ba3997dad5779f75433fd4e6.zip
Merge branch 'busybox'
Diffstat (limited to 'shell/random.c')
-rw-r--r--shell/random.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/shell/random.c b/shell/random.c
index 614172279..ffe0cc937 100644
--- a/shell/random.c
+++ b/shell/random.c
@@ -57,11 +57,11 @@ next_random(random_t *rnd)
57 * Choices for a,b,c: 10,13,10; 8,9,22; 2,7,3; 23,3,24 57 * Choices for a,b,c: 10,13,10; 8,9,22; 2,7,3; 23,3,24
58 * (given by algorithm author) 58 * (given by algorithm author)
59 */ 59 */
60 enum { 60 enum {
61 a = 2, 61 a = 2,
62 b = 7, 62 b = 7,
63 c = 3, 63 c = 3,
64 }; 64 };
65 65
66 uint32_t t; 66 uint32_t t;
67 67
@@ -165,7 +165,7 @@ int main(int argc, char **argv)
165 write(1, buf, sizeof(buf)); 165 write(1, buf, sizeof(buf));
166 } 166 }
167 167
168 return 0; 168 return 0;
169} 169}
170 170
171#endif 171#endif