projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07827d1
)
consistency: use struct __ucontext instead of ucontext_t in prototypes
author
Rich Felker
<dalias@aerifal.cx>
Sun, 31 Jul 2011 04:10:29 +0000
(
00:10
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 31 Jul 2011 04:10:29 +0000
(
00:10
-0400)
this is necessary to avoid build errors if feature test macros are not
properly defined when including ucontext.h
include/ucontext.h
patch
|
blob
|
history
diff --git
a/include/ucontext.h
b/include/ucontext.h
index 87c89cafdacc2c488010a86ae8f09f42ff3ba709..1121761626b65c41977e51473991273abb0670fe 100644
(file)
--- 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 __ucontex
t *);
int swapcontext(struct __ucontext *, const struct __ucontext *);
#ifdef __cplusplus