Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
91ff0ff5
Commit
91ff0ff5
authored
Mar 24, 2009
by
Rémi Denis-Courmont
Committed by
Rémi Denis-Courmont
Mar 31, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing prototype warning
I would really prefer to remove vlc_poll() from exports in the long term.
parent
e9dfc109
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/network/poll.c
src/network/poll.c
+4
-4
No files found.
src/network/poll.c
View file @
91ff0ff5
...
@@ -25,9 +25,12 @@
...
@@ -25,9 +25,12 @@
# include "config.h"
# include "config.h"
#endif
#endif
#i
fdef HAVE_POLL
#i
nclude <vlc_common.h>
#include <stdlib.h>
#include <stdlib.h>
#include <vlc_network.h>
#ifdef HAVE_POLL
struct
pollfd
;
struct
pollfd
;
int
vlc_poll
(
struct
pollfd
*
fds
,
unsigned
nfds
,
int
timeout
)
int
vlc_poll
(
struct
pollfd
*
fds
,
unsigned
nfds
,
int
timeout
)
...
@@ -37,10 +40,7 @@ int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout)
...
@@ -37,10 +40,7 @@ int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout)
}
}
#else
/* !HAVE_POLL */
#else
/* !HAVE_POLL */
#include <vlc_common.h>
#include <string.h>
#include <string.h>
#include <stdlib.h>
#include <vlc_network.h>
int
vlc_poll
(
struct
pollfd
*
fds
,
unsigned
nfds
,
int
timeout
)
int
vlc_poll
(
struct
pollfd
*
fds
,
unsigned
nfds
,
int
timeout
)
{
{
...
...
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