fixed __signalfd() prototype

This commit is contained in:
ensc 2008-06-21 14:23:39 +00:00
commit cb43a352c9
2 changed files with 5 additions and 2 deletions

View file

@ -5,7 +5,7 @@ diff -up dietlibc-0.31.20080409/lib/signalfd.c.implicitfunc dietlibc-0.31.200804
#include <signal.h>
#include <errno.h>
+extern int __signalfd(int fd, const sigset_t *mask, int flags);
+extern int __signalfd(int fd, const sigset_t *mask, size_t flags);
+
int signalfd(int fd,const sigset_t* mask,int flags) {
if (flags) { /* bizarre glibc bullshit */

View file

@ -30,7 +30,7 @@
Summary: Small libc implementation
Name: dietlibc
Version: 0.31
Release: %release_func 4%{?snapshot:.%snapshot}
Release: %release_func 5%{?snapshot:.%snapshot}
License: GPL
Group: Development/Libraries
URL: http://www.fefe.de/dietlibc/
@ -201,6 +201,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sun May 18 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.31-5.20080409
- fixed __signalfd() prototype
* Sat Apr 19 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.31-4.20080409
- update -pagesize patch