musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011年07月31日 00:10:29 -0400
committerRich Felker <dalias@aerifal.cx>2011年07月31日 00:10:29 -0400
commitacfd06df17fd3940e4602af4b9132f61a6a3eb7f (patch)
tree8bded47cb7113e9e80d38740213ca5470191437d
parent07827d1a82fb33262f686eda959857f0d28cd8fa (diff)
downloadmusl-acfd06df17fd3940e4602af4b9132f61a6a3eb7f.tar.gz
consistency: use struct __ucontext instead of ucontext_t in prototypes
this is necessary to avoid build errors if feature test macros are not properly defined when including ucontext.h
Diffstat
-rw-r--r--include/ucontext.h 2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ucontext.h b/include/ucontext.h
index 87c89caf..11217616 100644
--- a/include/ucontext.h
+++ b/include/ucontext.h
@@ -14,7 +14,7 @@ struct __ucontext;
int getcontext(struct __ucontext *);
void makecontext(struct __ucontext *, void (*)(void), int, ...);
-int setcontext(const ucontext_t *);
+int setcontext(const struct __ucontext *);
int swapcontext(struct __ucontext *, const struct __ucontext *);
#ifdef __cplusplus
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月03日 18:01:29 +0000

AltStyle によって変換されたページ (->オリジナル) /