shell: split read builtin from ash

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-01-12 22:11:24 +01:00
parent 6c93b24ce9
commit 7306727d1b
14 changed files with 378 additions and 216 deletions

View File

@ -6,6 +6,10 @@
*
* Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#ifndef SHELL_RANDOM_H
#define SHELL_RANDOM_H 1
PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
typedef struct random_t {
/* Random number generators */
@ -23,3 +27,7 @@ typedef struct random_t {
((rnd)->galois_LFSR = 0)
uint32_t next_random(random_t *rnd) FAST_FUNC;
POP_SAVED_FUNCTION_VISIBILITY
#endif