aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2008-01-09 10:36:19 -0500
committerSam Ravnborg <sam@ravnborg.org>2008-01-28 17:14:38 -0500
commit75ff4309cdb1d7303750aeed07a5d80382fe2e71 (patch)
tree6edd99e39d322bef8aa43cf6436b39066a077664
parent2c81210a26fb84c0af6aad95f6ec1d61cf276cd0 (diff)
kconfig: fix whitespace and sort includes in conf.c
Sort includes and remove leading whitespace. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Roman Zippel <zippel@linux-m68k.org
-rw-r--r--scripts/kconfig/conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index d4737d35e720..a3d2d0b564f4 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -4,11 +4,11 @@
4 */ 4 */
5 5
6#include <ctype.h> 6#include <ctype.h>
7#include <stdlib.h>
8#include <stdio.h> 7#include <stdio.h>
8#include <stdlib.h>
9#include <string.h> 9#include <string.h>
10#include <unistd.h>
11#include <time.h> 10#include <time.h>
11#include <unistd.h>
12#include <sys/stat.h> 12#include <sys/stat.h>
13 13
14#define LKC_DIRECT_LINK 14#define LKC_DIRECT_LINK
@@ -160,7 +160,7 @@ static int conf_askvalue(struct symbol *sym, const char *def)
160 } 160 }
161 case set_random: 161 case set_random:
162 do { 162 do {
163 val = (tristate)(random() % 3); 163 val = (tristate)(rand() % 3);
164 } while (!sym_tristate_within_range(sym, val)); 164 } while (!sym_tristate_within_range(sym, val));
165 switch (val) { 165 switch (val) {
166 case no: line[0] = 'n'; break; 166 case no: line[0] = 'n'; break;