equal
deleted
inserted
replaced
4 */ |
4 */ |
5 |
5 |
6 #include <stdio.h> |
6 #include <stdio.h> |
7 #include <stdlib.h> |
7 #include <stdlib.h> |
8 #include <time.h> |
8 #include <time.h> |
|
9 #include <unistd.h> |
|
10 |
|
11 #ifndef NO_CRYPT |
9 #include <crypt.h> |
12 #include <crypt.h> |
|
13 #endif |
10 |
14 |
11 #define GETRANDOM(max) ('a'+(int)((float)(max)*rand()/RAND_MAX+1.0)) |
15 #define GETRANDOM(max) ('a'+(int)((float)(max)*rand()/RAND_MAX+1.0)) |
12 |
16 |
13 int main (int argc, char **argv) |
17 int main (int argc, char **argv) |
14 { |
18 { |