libthread: rm unused sparc-ucontext.h

More dead code.
This commit is contained in:
Russ Cox 2020-01-19 21:01:30 -05:00
parent 52397aaf2b
commit c181e39eea
2 changed files with 0 additions and 37 deletions

View file

@ -55,20 +55,6 @@
extern pid_t rfork_thread(int, void*, int(*)(void*), void*);
#endif
/* THIS DOES NOT WORK! Don't do this!
(At least, not on Solaris. Maybe this is right for Linux,
in which case it should say if defined(__linux__) && defined(__sun__),
but surely the latter would be defined(__sparc__).
#if defined(__sun__)
# define mcontext libthread_mcontext
# define mcontext_t libthread_mcontext_t
# define ucontext libthread_ucontext
# define ucontext_t libthread_ucontext_t
# include "sparc-ucontext.h"
#endif
*/
#if defined(__arm__)
int mygetmcontext(ulong*);
void mysetmcontext(const ulong*);