Showing the changes to include (2 of 16 files). Show all
Unified · Split
| @@ -5,6 +5,7 @@ · 4 unmodified lines | |||
| 5 | # endif | 5 | # endif |
| 6 | #elif defined(WINDOWS) | 6 | #elif defined(WINDOWS) |
| 7 | # include "9windows.h" | 7 | # include "9windows.h" |
| 8 | # define main mymain | ||
| 8 | #else | 9 | #else |
| 9 | # error "Define an OS" | 10 | # error "Define an OS" |
| 10 | #endif | 11 | #endif |
| @@ -15,11 +15,6 @@ · 14 unmodified lines | |||
| 15 | #define log2 liblog2 | 15 | #define log2 liblog2 |
| 16 | #define log liblog | 16 | #define log liblog |
| 17 | #define reboot libreboot | 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 | #undef timeradd | 18 | #undef timeradd |
| 24 | #define timeradd xtimeradd | 19 | #define timeradd xtimeradd |
| 25 | 20 | ||
| @@ -240,13 +235,6 @@ extern int fmtprint(Fmt*, char*, ...); · 214 unmodified lines | |||
| 240 | extern int fmtvprint(Fmt*, char*, va_list); | 235 | extern int fmtvprint(Fmt*, char*, va_list); |
| 241 | extern void* mallocz(ulong, int); | 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 | extern ulong getcallerpc(void*); | 238 | extern ulong getcallerpc(void*); |
| 251 | extern char* cleanname(char*); | 239 | extern char* cleanname(char*); |
| 252 | extern void sysfatal(char*, ...); | 240 | extern void sysfatal(char*, ...); |