aboutsummaryrefslogtreecommitdiff
path: root/shell/random.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-12 22:11:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-12 22:11:24 +0100
commit7306727d1b2ed05afc91548ba374f7400a2389e3 (patch)
tree39cf4dff144f82dc9eaad30eae9c4fe67d405e4e /shell/random.h
parent6c93b24ce9dfb5c3970178ca2545502a7830716c (diff)
downloadbusybox-w32-7306727d1b2ed05afc91548ba374f7400a2389e3.tar.gz
busybox-w32-7306727d1b2ed05afc91548ba374f7400a2389e3.tar.bz2
busybox-w32-7306727d1b2ed05afc91548ba374f7400a2389e3.zip
shell: split read builtin from ash
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/random.h')
-rw-r--r--shell/random.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/random.h b/shell/random.h
index e22a2e88b..08563402c 100644
--- a/shell/random.h
+++ b/shell/random.h
@@ -6,6 +6,10 @@
6 * 6 *
7 * Licensed under GPLv2, see file LICENSE in this tarball for details. 7 * Licensed under GPLv2, see file LICENSE in this tarball for details.
8 */ 8 */
9#ifndef SHELL_RANDOM_H
10#define SHELL_RANDOM_H 1
11
12PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
9 13
10typedef struct random_t { 14typedef struct random_t {
11 /* Random number generators */ 15 /* Random number generators */
@@ -23,3 +27,7 @@ typedef struct random_t {
23 ((rnd)->galois_LFSR = 0) 27 ((rnd)->galois_LFSR = 0)
24 28
25uint32_t next_random(random_t *rnd) FAST_FUNC; 29uint32_t next_random(random_t *rnd) FAST_FUNC;
30
31POP_SAVED_FUNCTION_VISIBILITY
32
33#endif