tno sharps on c lines - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit b058fb6855ec343fd4053868628a21c4ff96b96a
DIR parent e4c74b87b6798b5255a3b794276cf83fea19b36d
HTML Author: rsc <devnull@localhost>
Date: Sun, 29 Jan 2006 04:17:25 +0000
no sharps on c lines
Diffstat:
M src/lib9/sleep.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
DIR diff --git a/src/lib9/sleep.c b/src/lib9/sleep.c
t@@ -7,11 +7,11 @@
#if defined(__NetBSD__) || (defined(__OpenBSD__) && OpenBSD <= 200511)
# define sched_yield() \
-# do{ struct timespec ts; \
-# ts.tv_sec = 0; \
-# ts.tv_nsec = 0; \
-# nanosleep(&ts, 0); \
-# }while(0)
+ do{ struct timespec ts; \
+ ts.tv_sec = 0; \
+ ts.tv_nsec = 0; \
+ nanosleep(&ts, 0); \
+ }while(0)
#endif
int