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
5# endif5# endif
6#elif defined(WINDOWS)6#elif defined(WINDOWS)
7# include "9windows.h"7# include "9windows.h"
8# define main mymain
8#else9#else
9# error "Define an OS"10# error "Define an OS"
10#endif11#endif
include/lib.h+0−12
@@ -15,11 +15,6 @@ · 14 unmodified lines
15#define log2 liblog215#define log2 liblog2
16#define log liblog16#define log liblog
17#define reboot libreboot17#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 timeradd18#undef timeradd
24#define timeradd xtimeradd19#define timeradd xtimeradd
25 20
@@ -240,13 +235,6 @@ extern int fmtprint(Fmt*, char*, ...); · 214 unmodified lines
240extern int fmtvprint(Fmt*, char*, va_list);235extern int fmtvprint(Fmt*, char*, va_list);
241extern void* mallocz(ulong, int);236extern void* mallocz(ulong, int);
242 237
243extern void srand(long);
244extern int rand(void);
245extern int nrand(int);
246extern long lrand(void);
247extern long lnrand(long);
248extern double frand(void);
249
250extern ulong getcallerpc(void*);238extern ulong getcallerpc(void*);
251extern char* cleanname(char*);239extern char* cleanname(char*);
252extern void sysfatal(char*, ...);240extern 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