aboutsummaryrefslogtreecommitdiff
path: root/include/libc.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-01-27 05:51:54 +0000
committerrsc <devnull@localhost>2006-01-27 05:51:54 +0000
commitc54b8b69ede9d92e802baa1163d9cd734b034fb4 (patch)
tree7b36e7792b73a8ed5c8f2373a346efa5b1735d5f /include/libc.h
parentbc5d57712754818a2320a385afbf1c0c9558a4b3 (diff)
downloadplan9port-c54b8b69ede9d92e802baa1163d9cd734b034fb4.tar.gz
plan9port-c54b8b69ede9d92e802baa1163d9cd734b034fb4.tar.bz2
plan9port-c54b8b69ede9d92e802baa1163d9cd734b034fb4.zip
bsd
Diffstat (limited to 'include/libc.h')
-rw-r--r--include/libc.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/libc.h b/include/libc.h
index 1f867421..10000b57 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -904,17 +904,6 @@ extern int post9pservice(int, char*);
# endif
#endif
-/* this really shouldn't be here */
-#if defined(__OpenBSD__) || (defined(__NetBSD__) && !defined(sched_yield))
-#define sched_yield() \
- do { \
- struct timespec ts; \
- ts.tv_sec = 0; \
- ts.tv_nsec = 10; \
- nanosleep(&ts, NULL); \
- } while(0)
-#endif
-
/* command line */
extern char *argv0;
extern void __fixargv0(void);