浏览代码

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.
Rich Felker 13 年之前
父节点
当前提交
0115a6ed96
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/signal.h

+ 1 - 1
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