diff options
author | Russ Cox <rsc@swtch.com> | 2020-01-19 21:01:30 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-01-19 21:26:30 -0500 |
commit | c181e39eeab0eb8cad274b7b22ce5343bd55630d (patch) | |
tree | 15fe6723e0fa052fb61ffeb086a467cb1ab8ec04 /src/libthread/sparc-ucontext.h | |
parent | 52397aaf2b240015533fa46f1767c20f45296465 (diff) | |
download | plan9port-c181e39eeab0eb8cad274b7b22ce5343bd55630d.tar.gz plan9port-c181e39eeab0eb8cad274b7b22ce5343bd55630d.tar.bz2 plan9port-c181e39eeab0eb8cad274b7b22ce5343bd55630d.zip |
libthread: rm unused sparc-ucontext.h
More dead code.
Diffstat (limited to 'src/libthread/sparc-ucontext.h')
-rw-r--r-- | src/libthread/sparc-ucontext.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/libthread/sparc-ucontext.h b/src/libthread/sparc-ucontext.h deleted file mode 100644 index 36b88171..00000000 --- a/src/libthread/sparc-ucontext.h +++ /dev/null @@ -1,23 +0,0 @@ -#define setcontext(u) _setmcontext(&(u)->mc) -#define getcontext(u) _getmcontext(&(u)->mc) -typedef struct mcontext mcontext_t; -typedef struct ucontext ucontext_t; -struct mcontext -{ - int r[16]; -}; - -struct ucontext -{ - struct { - void *ss_sp; - uint ss_size; - } uc_stack; - sigset_t uc_sigmask; - mcontext_t mc; -}; - -void makecontext(ucontext_t*, void(*)(void), int, ...); -int swapcontext(ucontext_t*, ucontext_t*); -int _getmcontext(mcontext_t*); -void _setmcontext(mcontext_t*); |