浏览代码

Correct a problem introduced by porting the glibc header

Peter S. Mazinger 19 年之前
父节点
当前提交
e1533f29c6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/signal.h

+ 1 - 1
include/signal.h

@@ -155,8 +155,8 @@ extern int __sigpause (int __sig_or_mask, int __is_sig);
 #ifdef __FAVOR_BSD
 #ifdef __FAVOR_BSD
 /* Set the mask of blocked signals to MASK,
 /* Set the mask of blocked signals to MASK,
    wait for a signal to arrive, and then restore the mask.  */
    wait for a signal to arrive, and then restore the mask.  */
-# define sigpause(mask) __sigpause ((mask), 0)
 extern int sigpause (int __mask) __THROW __attribute_deprecated__;
 extern int sigpause (int __mask) __THROW __attribute_deprecated__;
+# define sigpause(mask) __sigpause ((mask), 0)
 #else
 #else
 # ifdef __USE_XOPEN
 # ifdef __USE_XOPEN
 #  ifdef __GNUC__
 #  ifdef __GNUC__