提交 75ff4309 编写于 作者: L Ladislav Michl 提交者: Sam Ravnborg

kconfig: fix whitespace and sort includes in conf.c

Sort includes and remove leading whitespace.
Signed-off-by: NLadislav Michl <ladis@linux-mips.org>
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org
上级 2c81210a
......@@ -4,11 +4,11 @@
*/
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
#include <unistd.h>
#include <sys/stat.h>
#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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册