From: rasky Date: Wed, 29 Sep 2010 16:41:39 +0000 (+0000) Subject: SEC: coding convention. X-Git-Tag: 2.6.0~39 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=ffd7d10e14c5205d7c93dbe7b260727ec3cf5d28;p=bertos.git SEC: coding convention. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4362 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/sec/random.c b/bertos/sec/random.c index 69f3fed3..5fa8ef35 100644 --- a/bertos/sec/random.c +++ b/bertos/sec/random.c @@ -53,8 +53,8 @@ /* Configuration of the random module */ /********************************************************************************/ -#define POOL_CONTEXT PP_CAT(PP_CAT(PRNG_NAME, CONFIG_RANDOM_POOL), Context) -#define POOL_INIT PP_CAT(PP_CAT(PRNG_NAME, CONFIG_RANDOM_POOL), _init) +#define POOL_CONTEXT PP_CAT(PP_CAT(PRNG_NAMEU, CONFIG_RANDOM_POOL), Context) +#define POOL_INIT PP_CAT(PP_CAT(PRNG_NAMEL, CONFIG_RANDOM_POOL), _init) #define EXTRACTOR_STACKINIT PP_CAT(PP_CAT(EXTRACTOR_NAME, CONFIG_RANDOM_EXTRACTOR), _stackinit) @@ -68,7 +68,7 @@ #if CONFIG_RANDOM_POOL != POOL_NONE static POOL_CONTEXT epool_ctx; -static EntropyPool_Context * const epool = (EntropyPool_Context *)&epool_ctx; +static EntropyPool * const epool = (EntropyPool *)&epool_ctx; #endif static PRNG_CONTEXT prng_ctx;