diff options
author | Russ Cox <rsc@swtch.com> | 2020-01-19 21:25:33 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-01-19 21:26:23 -0500 |
commit | 8dcb18f71b1917713d4743ab10968c527acdc62e (patch) | |
tree | acc9640614ae66ae5568107710765fcc628afe1d /src/libthread/threadimpl.h | |
parent | d15607b9ddd9872b48fe3ac8c68f9637044be310 (diff) | |
download | plan9port-8dcb18f71b1917713d4743ab10968c527acdc62e.tar.gz plan9port-8dcb18f71b1917713d4743ab10968c527acdc62e.tar.bz2 plan9port-8dcb18f71b1917713d4743ab10968c527acdc62e.zip |
libthread: rm FreeBSD 4 code
Pretty sure FreeBSD 4 is gone now. :-)
Diffstat (limited to 'src/libthread/threadimpl.h')
-rw-r--r-- | src/libthread/threadimpl.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 6671f23c..e26ffe6b 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -15,15 +15,6 @@ #include "libc.h" #include "thread.h" -#if defined(__FreeBSD__) && __FreeBSD__ < 5 -extern int getmcontext(mcontext_t*); -extern void setmcontext(mcontext_t*); -#define setcontext(u) setmcontext(&(u)->uc_mcontext) -#define getcontext(u) getmcontext(&(u)->uc_mcontext) -extern int swapcontext(ucontext_t*, ucontext_t*); -extern void makecontext(ucontext_t*, void(*)(), int, ...); -#endif - #if defined(__APPLE__) /* * OS X before 10.5 (Leopard) does not provide |