Sort includes and remove leading whitespace.
Unified · Split
| @@ -4,11 +4,11 @@ · 3 unmodified lines | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <ctype.h> |
| 7 | −#include <stdlib.h> | |
| 8 | 7 | #include <stdio.h> |
| 8 | +#include <stdlib.h> | |
| 9 | 9 | #include <string.h> |
| 10 | −#include <unistd.h> | |
| 11 | 10 | #include <time.h> |
| 11 | +#include <unistd.h> | |
| 12 | 12 | #include <sys/stat.h> |
| 13 | 13 | |
| 14 | 14 | #define LKC_DIRECT_LINK |
| @@ -160,7 +160,7 @@ static int conf_askvalue(struct symbol *sym, const char *def) · 145 unmodified lines | ||
| 160 | 160 | } |
| 161 | 161 | case set_random: |
| 162 | 162 | do { |
| 163 | − val = (tristate)(random() % 3); | |
| 163 | + val = (tristate)(rand() % 3); | |
| 164 | 164 | } while (!sym_tristate_within_range(sym, val)); |
| 165 | 165 | switch (val) { |
| 166 | 166 | case no: line[0] = 'n'; break; |