From 920746cbb5d18d8aef284d3fe71a57cd52509117 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 14 Nov 2023 12:12:10 -0500 Subject: disable all functions; will strategically reenable them as tested --- src/ucontext/getcontext.c | 5 +++++ src/ucontext/makecontext.c | 5 +++++ src/ucontext/setcontext.c | 5 +++++ src/ucontext/swapcontext.c | 5 +++++ 4 files changed, 20 insertions(+) (limited to 'src/ucontext') diff --git a/src/ucontext/getcontext.c b/src/ucontext/getcontext.c index eaf1e43a..202deca8 100644 --- a/src/ucontext/getcontext.c +++ b/src/ucontext/getcontext.c @@ -1,3 +1,5 @@ +#if 0 + #include int getcontext(ucontext_t *ucp) @@ -8,3 +10,6 @@ int getcontext(ucontext_t *ucp) /* XOPEN(400,700) */ + + +#endif diff --git a/src/ucontext/makecontext.c b/src/ucontext/makecontext.c index 444b8b89..3fb9b0ac 100644 --- a/src/ucontext/makecontext.c +++ b/src/ucontext/makecontext.c @@ -1,3 +1,5 @@ +#if 0 + #include void makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) @@ -7,3 +9,6 @@ void makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) /* XOPEN(400,700) */ + + +#endif diff --git a/src/ucontext/setcontext.c b/src/ucontext/setcontext.c index c4808307..ec63d951 100644 --- a/src/ucontext/setcontext.c +++ b/src/ucontext/setcontext.c @@ -1,3 +1,5 @@ +#if 0 + #include int setcontext(const ucontext_t *ucp) @@ -8,3 +10,6 @@ int setcontext(const ucontext_t *ucp) /* XOPEN(400,700) */ + + +#endif diff --git a/src/ucontext/swapcontext.c b/src/ucontext/swapcontext.c index 9f8f3cad..33ee9578 100644 --- a/src/ucontext/swapcontext.c +++ b/src/ucontext/swapcontext.c @@ -1,3 +1,5 @@ +#if 0 + #include void swapcontext(ucontext_t *oucp, const ucontext_t *ucp) @@ -7,3 +9,6 @@ void swapcontext(ucontext_t *oucp, const ucontext_t *ucp) /* XOPEN(400,700) */ + + +#endif -- cgit v1.2.1