History

kconfig: fix whitespace and sort includes in conf.c

Sort includes and remove leading whitespace.

Ladislav Michl committed 18 years ago

Commit 75ff4301 parent 2c812101 file · +3 −3Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kconfig/conf.c+3−3
@@ -4,11 +4,11 @@ · 3 unmodified lines
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_LINK14#define LKC_DIRECT_LINK
@@ -160,7 +160,7 @@ static int conf_askvalue(struct symbol *sym, const char *def) · 145 unmodified lines
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;