Fix signalfd for MIPS.

Also mark signalfd's sigset_t* argument as non-nullable.

Change-Id: I466e09cdf3fb92480744c496da92274a97f99dd1
This commit is contained in:
Elliott Hughes 2013-01-16 09:34:16 -08:00
parent 791e26d959
commit f193b9fc21

View File

@ -25,17 +25,16 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef _SYS_SIGNALFD_H_
#define _SYS_SIGNALFD_H_
#include <linux/signalfd.h>
#include <sys/cdefs.h>
#include <signal.h>
#include <linux/signalfd.h>
__BEGIN_DECLS
/* Compatibility with GLibc */
extern int signalfd(int fd, const sigset_t *mask, int flags);
extern int signalfd(int fd, const sigset_t* mask, int flags) __attribute__((__nonnull__(2)));
__END_DECLS