From 7306727d1b2ed05afc91548ba374f7400a2389e3 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 12 Jan 2010 22:11:24 +0100 Subject: shell: split read builtin from ash Signed-off-by: Denys Vlasenko --- shell/random.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'shell/random.h') 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 @@ * * 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 -- cgit v1.2.3