History

win32: fix seconds()

cinap_lenrek committed 9 years ago

Commit fe1e2941 parent b4d00e32 files · +2 −0Browse files

Unified · Split

2 files
  1. include/user.h +1 −0
  2. kern/win32.c +1 −0
include/user.h+1−0
@@ -89,6 +89,7 @@ extern int encrypt(void*, void*, int); · 88 unmodified lines
89extern int decrypt(void*, void*, int);89extern int decrypt(void*, void*, int);
90extern void qlock(QLock*);90extern void qlock(QLock*);
91extern void qunlock(QLock*);91extern void qunlock(QLock*);
92extern long time(long*);
92extern vlong nsec(void);93extern vlong nsec(void);
93extern void lock(Lock*);94extern void lock(Lock*);
94extern void unlock(Lock*);95extern void unlock(Lock*);
kern/win32.c+1−0
@@ -141,6 +141,7 @@ randomread(void *v, ulong n) · 140 unmodified lines
141 return n;141 return n;
142}142}
143 143
144#undef time
144long145long
145seconds(void)146seconds(void)
146{147{

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