Showing the changes to include (2 of 16 files). Show all
Unified · Split
| @@ -5,6 +5,7 @@ · 4 unmodified lines | ||
| 5 | 5 | # endif |
| 6 | 6 | #elif defined(WINDOWS) |
| 7 | 7 | # include "9windows.h" |
| 8 | +# define main mymain | |
| 8 | 9 | #else |
| 9 | 10 | # error "Define an OS" |
| 10 | 11 | #endif |
| @@ -15,11 +15,6 @@ · 14 unmodified lines | ||
| 15 | 15 | #define log2 liblog2 |
| 16 | 16 | #define log liblog |
| 17 | 17 | #define reboot libreboot |
| 18 | −#define srand dtsrand | |
| 19 | −#define rand dtrand | |
| 20 | −#define nrand dtnrand | |
| 21 | −#define lrand dtlrand | |
| 22 | −#define lnrand dtlnrand | |
| 23 | 18 | #undef timeradd |
| 24 | 19 | #define timeradd xtimeradd |
| 25 | 20 | |
| @@ -240,13 +235,6 @@ extern int fmtprint(Fmt*, char*, ...); · 214 unmodified lines | ||
| 240 | 235 | extern int fmtvprint(Fmt*, char*, va_list); |
| 241 | 236 | extern void* mallocz(ulong, int); |
| 242 | 237 | |
| 243 | −extern void srand(long); | |
| 244 | −extern int rand(void); | |
| 245 | −extern int nrand(int); | |
| 246 | −extern long lrand(void); | |
| 247 | −extern long lnrand(long); | |
| 248 | −extern double frand(void); | |
| 249 | − | |
| 250 | 238 | extern ulong getcallerpc(void*); |
| 251 | 239 | extern char* cleanname(char*); |
| 252 | 240 | extern void sysfatal(char*, ...); |