1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- ./socket_wrapper/src/socket_wrapper.c 2014-09-30 11:23:19.733011302 +0200
+++ ./socket_wrapper/src/socket_wrapper.c 2014-09-30 11:25:11.599141672 +0200
@@ -294,7 +294,7 @@
int (*libc_dup)(int fd);
int (*libc_dup2)(int oldfd, int newfd);
#ifdef HAVE_EVENTFD
- int (*libc_eventfd)(int count, int flags);
+ int (*libc_eventfd)(unsigned int count, int flags);
#endif
int (*libc_getpeername)(int sockfd,
struct sockaddr *addr,
@@ -528,7 +528,7 @@
}
#ifdef HAVE_EVENTFD
-static int libc_eventfd(int count, int flags)
+static int libc_eventfd(unsigned int count, int flags)
{
swrap_load_lib_function(SWRAP_LIBC, eventfd);
@@ -4159,7 +4159,7 @@
***************************/
#ifdef HAVE_EVENTFD
-static int swrap_eventfd(int count, int flags)
+static int swrap_eventfd(unsigned int count, int flags)
{
int fd;
@@ -4171,7 +4171,7 @@
return fd;
}
-int eventfd(int count, int flags)
+int eventfd(unsigned int count, int flags)
{
return swrap_eventfd(count, flags);
}
|