From ba54c304723fad300e7174fb64d7bf7d5891ef1d Mon Sep 17 00:00:00 2001 From: Ladislav Michl Date: Wed, 9 Jan 2008 16:36:19 +0100 Subject: [PATCH] --- yaml --- r: 77967 b: refs/heads/master c: 75ff4309cdb1d7303750aeed07a5d80382fe2e71 h: refs/heads/master i: 77965: 58f5f4225152c42e87d17ba2add8dd72a8bbc6fa 77963: 4d3abeb78368762d061eee9ca00c30dad762a15d 77959: 37287de6c1a5d9e3861751d9cd78fb5244062152 77951: a1c44875a1905c09c82e285ba0293ff6d24cd234 v: v3 --- [refs] | 2 +- trunk/scripts/kconfig/conf.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 7f277acafef4..69cb62017123 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2c81210a26fb84c0af6aad95f6ec1d61cf276cd0 +refs/heads/master: 75ff4309cdb1d7303750aeed07a5d80382fe2e71 diff --git a/trunk/scripts/kconfig/conf.c b/trunk/scripts/kconfig/conf.c index d4737d35e720..a3d2d0b564f4 100644 --- a/trunk/scripts/kconfig/conf.c +++ b/trunk/scripts/kconfig/conf.c @@ -4,11 +4,11 @@ */ #include -#include #include +#include #include -#include #include +#include #include #define LKC_DIRECT_LINK @@ -160,7 +160,7 @@ static int conf_askvalue(struct symbol *sym, const char *def) } case set_random: do { - val = (tristate)(random() % 3); + val = (tristate)(rand() % 3); } while (!sym_tristate_within_range(sym, val)); switch (val) { case no: line[0] = 'n'; break;