Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f2213dd2
Commit
f2213dd2
authored
Dec 03, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 04, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Make fd_poll_event static.
parent
7f2c7249
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
fd.c
server/fd.c
+5
-6
file.h
server/file.h
+0
-1
No files found.
server/fd.c
View file @
f2213dd2
...
...
@@ -428,6 +428,11 @@ static struct fd **freelist; /* list of free entries in the array
static
int
get_next_timeout
(
void
);
static
inline
void
fd_poll_event
(
struct
fd
*
fd
,
int
event
)
{
fd
->
fd_ops
->
poll_event
(
fd
,
event
);
}
#ifdef USE_EPOLL
static
int
epoll_fd
=
-
1
;
...
...
@@ -1689,12 +1694,6 @@ int fd_close_handle( struct object *obj, struct process *process, obj_handle_t h
return
(
!
current
||
current
->
process
==
process
);
}
/* callback for event happening in the main poll() loop */
void
fd_poll_event
(
struct
fd
*
fd
,
int
event
)
{
return
fd
->
fd_ops
->
poll_event
(
fd
,
event
);
}
/* check if events are pending and if yes return which one(s) */
int
check_fd_events
(
struct
fd
*
fd
,
int
events
)
{
...
...
server/file.h
View file @
f2213dd2
...
...
@@ -65,7 +65,6 @@ extern int get_unix_fd( struct fd *fd );
extern
int
is_same_file_fd
(
struct
fd
*
fd1
,
struct
fd
*
fd2
);
extern
int
is_fd_removable
(
struct
fd
*
fd
);
extern
int
fd_close_handle
(
struct
object
*
obj
,
struct
process
*
process
,
obj_handle_t
handle
);
extern
void
fd_poll_event
(
struct
fd
*
fd
,
int
event
);
extern
int
check_fd_events
(
struct
fd
*
fd
,
int
events
);
extern
void
set_fd_events
(
struct
fd
*
fd
,
int
events
);
extern
obj_handle_t
lock_fd
(
struct
fd
*
fd
,
file_pos_t
offset
,
file_pos_t
count
,
int
shared
,
int
wait
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment