History

fixes

Russ Cox committed 21 years ago

Commit ee5fc881 parent d6701f916 files · +209 −79Browse files

Showing the changes to include (2 of 16 files). Show all

Unified · Split

2 files
  1. include/dtos.h +1 −0
  2. include/lib.h +0 −12
include/dtos.h+1−0
@@ -5,6 +5,7 @@ · 4 unmodified lines
55 # endif
66 #elif defined(WINDOWS)
77 # include "9windows.h"
8+# define main mymain
89 #else
910 # error "Define an OS"
1011 #endif
include/lib.h+0−12
@@ -15,11 +15,6 @@ · 14 unmodified lines
1515 #define log2 liblog2
1616 #define log liblog
1717 #define reboot libreboot
18−#define srand dtsrand
19−#define rand dtrand
20−#define nrand dtnrand
21−#define lrand dtlrand
22−#define lnrand dtlnrand
2318 #undef timeradd
2419 #define timeradd xtimeradd
2520
@@ -240,13 +235,6 @@ extern int fmtprint(Fmt*, char*, ...); · 214 unmodified lines
240235 extern int fmtvprint(Fmt*, char*, va_list);
241236 extern void* mallocz(ulong, int);
242237
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−
250238 extern ulong getcallerpc(void*);
251239 extern char* cleanname(char*);
252240 extern void sysfatal(char*, ...);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t