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
e7ee6a9d
Commit
e7ee6a9d
authored
Jan 11, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless <fcntl.h> inclusions
parent
4f9272f7
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
3 additions
and
50 deletions
+3
-50
modules/access/alsa.c
modules/access/alsa.c
+0
-1
modules/access/dv.c
modules/access/dv.c
+0
-7
modules/access/dvb/access.c
modules/access/dvb/access.c
+1
-2
modules/access/dvb/en50221.c
modules/access/dvb/en50221.c
+0
-1
modules/access/dvb/http.c
modules/access/dvb/http.c
+0
-1
modules/access/dvb/scan.c
modules/access/dvb/scan.c
+0
-1
modules/access/dvdread.c
modules/access/dvdread.c
+0
-1
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+0
-6
modules/access_output/udp.c
modules/access_output/udp.c
+0
-1
modules/control/http/http.h
modules/control/http/http.h
+0
-4
modules/control/http/mvar.c
modules/control/http/mvar.c
+1
-0
modules/control/http/util.c
modules/control/http/util.c
+1
-0
modules/control/telnet.c
modules/control/telnet.c
+0
-5
modules/gui/skins2/x11/x11_timer.cpp
modules/gui/skins2/x11/x11_timer.cpp
+0
-1
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+0
-1
modules/video_filter/dynamicoverlay/dynamicoverlay_list.c
modules/video_filter/dynamicoverlay/dynamicoverlay_list.c
+0
-1
src/extras/libc.c
src/extras/libc.c
+0
-1
src/misc/messages.c
src/misc/messages.c
+0
-4
src/misc/objects.c
src/misc/objects.c
+0
-1
src/network/httpd.c
src/network/httpd.c
+0
-4
src/network/tcp.c
src/network/tcp.c
+0
-6
test/dynamicoverlay/overlay-test.c
test/dynamicoverlay/overlay-test.c
+0
-1
No files found.
modules/access/alsa.c
View file @
e7ee6a9d
...
@@ -45,7 +45,6 @@
...
@@ -45,7 +45,6 @@
#include <vlc_demux.h>
#include <vlc_demux.h>
#include <vlc_input.h>
#include <vlc_input.h>
#include <fcntl.h>
#include <unistd.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/mman.h>
...
...
modules/access/dv.c
View file @
e7ee6a9d
...
@@ -36,13 +36,6 @@
...
@@ -36,13 +36,6 @@
#ifdef HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
# include <sys/types.h>
#endif
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
#elif defined( WIN32 ) && !defined( UNDER_CE )
#elif defined( WIN32 ) && !defined( UNDER_CE )
...
...
modules/access/dvb/access.c
View file @
e7ee6a9d
...
@@ -42,9 +42,8 @@
...
@@ -42,9 +42,8 @@
# include <unistd.h>
# include <unistd.h>
#endif
#endif
#include <fcntl.h>
#include <sys/types.h>
#include <sys/types.h>
#include <
sys/
poll.h>
#include <poll.h>
#include <errno.h>
#include <errno.h>
...
...
modules/access/dvb/en50221.c
View file @
e7ee6a9d
...
@@ -33,7 +33,6 @@
...
@@ -33,7 +33,6 @@
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/types.h>
#include <fcntl.h>
#include <time.h>
#include <time.h>
#include <unistd.h>
#include <unistd.h>
#include <poll.h>
#include <poll.h>
...
...
modules/access/dvb/http.c
View file @
e7ee6a9d
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
# include <unistd.h>
# include <unistd.h>
#endif
#endif
#include <fcntl.h>
#include <sys/types.h>
#include <sys/types.h>
/* Include dvbpsi headers */
/* Include dvbpsi headers */
...
...
modules/access/dvb/scan.c
View file @
e7ee6a9d
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
# include <unistd.h>
# include <unistd.h>
#endif
#endif
#include <fcntl.h>
#include <sys/types.h>
#include <sys/types.h>
#include <poll.h>
#include <poll.h>
...
...
modules/access/dvdread.c
View file @
e7ee6a9d
...
@@ -46,7 +46,6 @@
...
@@ -46,7 +46,6 @@
# include <unistd.h>
# include <unistd.h>
#endif
#endif
#include <fcntl.h>
#include <sys/types.h>
#include <sys/types.h>
#ifdef HAVE_DVDREAD_DVD_READER_H
#ifdef HAVE_DVDREAD_DVD_READER_H
...
...
modules/access/mms/mmstu.c
View file @
e7ee6a9d
...
@@ -38,12 +38,6 @@
...
@@ -38,12 +38,6 @@
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
#endif
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
# include <sys/types.h>
#endif
#endif
...
...
modules/access_output/udp.c
View file @
e7ee6a9d
...
@@ -33,7 +33,6 @@
...
@@ -33,7 +33,6 @@
#include <vlc_plugin.h>
#include <vlc_plugin.h>
#include <sys/types.h>
#include <sys/types.h>
#include <fcntl.h>
#include <assert.h>
#include <assert.h>
#include <vlc_sout.h>
#include <vlc_sout.h>
...
...
modules/control/http/http.h
View file @
e7ee6a9d
...
@@ -44,10 +44,6 @@
...
@@ -44,10 +44,6 @@
#include <vlc_acl.h>
#include <vlc_acl.h>
#include <vlc_charset.h>
#include <vlc_charset.h>
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
#elif defined( WIN32 ) && !defined( UNDER_CE )
#elif defined( WIN32 ) && !defined( UNDER_CE )
...
...
modules/control/http/mvar.c
View file @
e7ee6a9d
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#include <limits.h>
#include <limits.h>
#include <errno.h>
#include <errno.h>
#include <ctype.h>
#include <ctype.h>
#include <fcntl.h>
/* Utility function for scandir */
/* Utility function for scandir */
static
int
Filter
(
const
char
*
foo
)
static
int
Filter
(
const
char
*
foo
)
...
...
modules/control/http/util.c
View file @
e7ee6a9d
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include "http.h"
#include "http.h"
#include <vlc_strings.h>
#include <vlc_strings.h>
#include <errno.h>
#include <errno.h>
#include <fcntl.h>
/****************************************************************************
/****************************************************************************
* File and directory functions
* File and directory functions
...
...
modules/control/telnet.c
View file @
e7ee6a9d
...
@@ -38,11 +38,6 @@
...
@@ -38,11 +38,6 @@
#include <stdbool.h>
#include <stdbool.h>
#include <errno.h>
#include <errno.h>
#include <fcntl.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
...
...
modules/gui/skins2/x11/x11_timer.cpp
View file @
e7ee6a9d
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#ifdef X11_SKINS
#ifdef X11_SKINS
#include <unistd.h>
#include <unistd.h>
#include <fcntl.h>
#include <poll.h>
#include <poll.h>
#include "x11_timer.hpp"
#include "x11_timer.hpp"
...
...
modules/stream_out/rtp.c
View file @
e7ee6a9d
...
@@ -49,7 +49,6 @@
...
@@ -49,7 +49,6 @@
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <sys/types.h>
# include <sys/types.h>
# include <unistd.h>
# include <unistd.h>
# include <fcntl.h>
#endif
#endif
#ifdef HAVE_ARPA_INET_H
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
# include <arpa/inet.h>
...
...
modules/video_filter/dynamicoverlay/dynamicoverlay_list.c
View file @
e7ee6a9d
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
#include <vlc_osd.h>
#include <vlc_osd.h>
#include <vlc_memory.h>
#include <vlc_memory.h>
#include <fcntl.h>
#include "dynamicoverlay.h"
#include "dynamicoverlay.h"
/*****************************************************************************
/*****************************************************************************
...
...
src/extras/libc.c
View file @
e7ee6a9d
...
@@ -50,7 +50,6 @@
...
@@ -50,7 +50,6 @@
# include <unistd.h>
# include <unistd.h>
# include <errno.h>
# include <errno.h>
# include <sys/wait.h>
# include <sys/wait.h>
# include <fcntl.h>
# include <sys/socket.h>
# include <sys/socket.h>
# include <sys/poll.h>
# include <sys/poll.h>
# ifndef PF_LOCAL
# ifndef PF_LOCAL
...
...
src/misc/messages.c
View file @
e7ee6a9d
...
@@ -36,10 +36,6 @@
...
@@ -36,10 +36,6 @@
#include <stdarg.h>
/* va_list for BSD */
#include <stdarg.h>
/* va_list for BSD */
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
/* O_CREAT, O_TRUNC, O_WRONLY, O_SYNC */
#endif
#include <errno.h>
/* errno */
#include <errno.h>
/* errno */
#ifdef WIN32
#ifdef WIN32
...
...
src/misc/objects.c
View file @
e7ee6a9d
...
@@ -50,7 +50,6 @@
...
@@ -50,7 +50,6 @@
# include <unistd.h>
# include <unistd.h>
#else
#else
# include <io.h>
# include <io.h>
# include <fcntl.h>
#endif
#endif
#include <search.h>
#include <search.h>
...
...
src/network/httpd.c
View file @
e7ee6a9d
...
@@ -45,10 +45,6 @@
...
@@ -45,10 +45,6 @@
# include <unistd.h>
# include <unistd.h>
#endif
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#ifdef HAVE_POLL
#ifdef HAVE_POLL
# include <poll.h>
# include <poll.h>
#endif
#endif
...
...
src/network/tcp.c
View file @
e7ee6a9d
...
@@ -35,12 +35,6 @@
...
@@ -35,12 +35,6 @@
#include <errno.h>
#include <errno.h>
#include <assert.h>
#include <assert.h>
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
#endif
#endif
...
...
test/dynamicoverlay/overlay-test.c
View file @
e7ee6a9d
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
#include <string.h>
#include <string.h>
#include <math.h>
#include <math.h>
#include <sys/fcntl.h>
#include <sys/ipc.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/shm.h>
#include <unistd.h>
#include <unistd.h>
...
...
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