about summary refs log tree commit diff
path: root/include/signal.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-13 23:06:54 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-13 23:06:54 -0400
commit0115a6ed964f4afe87847a252363801e96194f0b (patch)
tree58c62fb82757a0a0b5cba9f638be921bc48e938b /include/signal.h
parent386b34a07bc65b6b0627d04105f60fb5fa79df33 (diff)
downloadmusl-0115a6ed964f4afe87847a252363801e96194f0b.tar.gz
musl-0115a6ed964f4afe87847a252363801e96194f0b.tar.xz
musl-0115a6ed964f4afe87847a252363801e96194f0b.zip
rename __sa_restorer to sa_restorer in struct sigaction
this is legal since sa_* is in the reserved namespace for signal.h,
per posix. note that the sa_restorer field is not used anywhere, so
programs that are trying to use it may still break, but at least
they'll compile. if it turns out such programs actually need to be
able to set their own sa_restorer to function properly, i'll add the
necessary code to sigaction.c later.
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/signal.h b/include/signal.h
index 1a198e48..38f369b1 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -80,7 +80,7 @@ struct sigaction {
 	} __sa_handler;
 	sigset_t sa_mask;
 	int sa_flags;
-	void (*__sa_restorer)(void);	
+	void (*sa_restorer)(void);	
 };
 #define sa_handler   __sa_handler.sa_handler
 #define sa_sigaction __sa_handler.sa_sigaction