Skip to content

Commit

Permalink
kconfig: fix whitespace and sort includes in conf.c
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ladislav Michl authored and Sam Ravnborg committed Jan 28, 2008
1 parent 2c81210 commit 75ff430
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/kconfig/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 75ff430

Please sign in to comment.