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
c4199ab6
Commit
c4199ab6
authored
Dec 29, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove inconsistently used HAVE_UNISTD_H
parent
dd1ffcd3
Changes
32
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
33 additions
and
118 deletions
+33
-118
compat/fdopendir.c
compat/fdopendir.c
+1
-3
modules/access/directory.c
modules/access/directory.c
+2
-6
modules/access/dv.c
modules/access/dv.c
+1
-6
modules/access/dvdnav.c
modules/access/dvdnav.c
+1
-3
modules/access/dvdread.c
modules/access/dvdread.c
+1
-4
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+1
-3
modules/access/vcd/cdrom.c
modules/access/vcd/cdrom.c
+1
-3
modules/access/vdr.c
modules/access/vdr.c
+1
-5
modules/access_output/livehttp.c
modules/access_output/livehttp.c
+1
-3
modules/access_output/udp.c
modules/access_output/udp.c
+1
-4
modules/audio_filter/channel_mixer/mono.c
modules/audio_filter/channel_mixer/mono.c
+0
-4
modules/codec/fluidsynth.c
modules/codec/fluidsynth.c
+1
-3
modules/control/netsync.c
modules/control/netsync.c
+1
-3
modules/control/rc.c
modules/control/rc.c
+1
-3
modules/gui/skins2/src/theme_loader.cpp
modules/gui/skins2/src/theme_loader.cpp
+1
-3
modules/gui/skins2/src/theme_repository.cpp
modules/gui/skins2/src/theme_repository.cpp
+1
-5
modules/services_discovery/podcast.c
modules/services_discovery/podcast.c
+2
-4
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+1
-3
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+2
-6
modules/text_renderer/svg.c
modules/text_renderer/svg.c
+1
-6
src/config/file.c
src/config/file.c
+1
-3
src/input/es_out_timeshift.c
src/input/es_out_timeshift.c
+1
-3
src/input/subtitles.c
src/input/subtitles.c
+1
-3
src/interface/interface.c
src/interface/interface.c
+0
-3
src/misc/block.c
src/misc/block.c
+1
-3
src/misc/mtime.c
src/misc/mtime.c
+1
-3
src/modules/bank.c
src/modules/bank.c
+1
-3
src/modules/cache.c
src/modules/cache.c
+1
-3
src/network/httpd.c
src/network/httpd.c
+1
-4
src/network/io.c
src/network/io.c
+1
-3
src/network/tcp.c
src/network/tcp.c
+1
-4
src/text/filesystem.c
src/text/filesystem.c
+1
-3
No files found.
compat/fdopendir.c
View file @
c4199ab6
...
...
@@ -27,9 +27,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <dirent.h>
DIR
*
fdopendir
(
int
fd
)
...
...
modules/access/directory.c
View file @
c4199ab6
...
...
@@ -37,12 +37,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <fcntl.h>
#elif defined( _WIN32 )
# include <io.h>
#endif
#include <unistd.h>
#include <fcntl.h>
#include <vlc_fs.h>
#include <vlc_url.h>
...
...
modules/access/dv.c
View file @
c4199ab6
...
...
@@ -34,12 +34,7 @@
#include <errno.h>
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#elif defined( _WIN32 )
# include <io.h>
#endif
#include <unistd.h>
#include <sys/poll.h>
#include <libraw1394/raw1394.h>
...
...
modules/access/dvdnav.c
View file @
c4199ab6
...
...
@@ -38,9 +38,7 @@
#endif
#include <assert.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
...
...
modules/access/dvdread.c
View file @
c4199ab6
...
...
@@ -50,11 +50,8 @@
#include "../demux/ps.h"
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h>
#include <unistd.h>
#include <dvdread/dvd_reader.h>
#include <dvdread/ifo_types.h>
...
...
modules/access/mms/mmstu.c
View file @
c4199ab6
...
...
@@ -35,10 +35,8 @@
#include <errno.h>
#include <assert.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_POLL
# include <poll.h>
#endif
...
...
modules/access/vcd/cdrom.c
View file @
c4199ab6
...
...
@@ -42,10 +42,8 @@
# define INCL_DOSDEVIOCTL
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef HAVE_ARPA_INET_H
...
...
modules/access/vdr.c
View file @
c4199ab6
...
...
@@ -48,11 +48,7 @@ See http://www.vdr-wiki.de/ and http://www.tvdr.de/ for more information.
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#elif defined( _WIN32 )
# include <io.h>
#endif
#include <unistd.h>
#include <ctype.h>
#include <time.h>
...
...
modules/access_output/livehttp.c
View file @
c4199ab6
...
...
@@ -34,9 +34,7 @@
#include <time.h>
#include <fcntl.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
...
...
modules/access_output/udp.c
View file @
c4199ab6
...
...
@@ -33,16 +33,13 @@
#include <vlc_plugin.h>
#include <sys/types.h>
#include <unistd.h>
#include <assert.h>
#include <errno.h>
#include <vlc_sout.h>
#include <vlc_block.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef _WIN32
# include <winsock2.h>
# include <ws2tcpip.h>
...
...
modules/audio_filter/channel_mixer/mono.c
View file @
c4199ab6
...
...
@@ -31,10 +31,6 @@
#include <math.h>
/* sqrt */
#include <stdint.h>
/* int16_t .. */
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_block.h>
...
...
modules/codec/fluidsynth.c
View file @
c4199ab6
...
...
@@ -28,9 +28,7 @@
#include <vlc_codec.h>
#include <vlc_dialog.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifdef _POSIX_VERSION
# include <glob.h>
#endif
...
...
modules/control/netsync.c
View file @
c4199ab6
...
...
@@ -36,10 +36,8 @@
#include <vlc_input.h>
#include <vlc_playlist.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_POLL
# include <poll.h>
#endif
...
...
modules/control/rc.c
View file @
c4199ab6
...
...
@@ -44,10 +44,8 @@
#include <vlc_playlist.h>
#include <vlc_keys.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h>
#include <unistd.h>
#include <vlc_network.h>
#include <vlc_url.h>
...
...
modules/gui/skins2/src/theme_loader.cpp
View file @
c4199ab6
...
...
@@ -28,9 +28,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <vlc_common.h>
#include <vlc_fs.h>
...
...
modules/gui/skins2/src/theme_repository.cpp
View file @
c4199ab6
...
...
@@ -25,11 +25,7 @@
#include "os_factory.hpp"
#include "../commands/async_queue.hpp"
#include "../commands/cmd_dialogs.hpp"
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#elif defined( _WIN32 )
# include <direct.h>
#endif
#include <unistd.h>
#include <fstream>
...
...
modules/services_discovery/podcast.c
View file @
c4199ab6
...
...
@@ -34,11 +34,9 @@
#include <vlc_services_discovery.h>
#include <vlc_playlist.h>
#include <vlc_network.h>
#include <assert.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <assert.h>
#include <unistd.h>
/************************************************************************
* Macros and definitions
...
...
modules/services_discovery/sap.c
View file @
c4199ab6
...
...
@@ -41,9 +41,7 @@
#include <vlc_charset.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
...
...
modules/stream_out/rtp.c
View file @
c4199ab6
...
...
@@ -48,10 +48,8 @@
#include "rtp.h"
#ifdef HAVE_UNISTD_H
# include <sys/types.h>
# include <unistd.h>
#endif
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
...
...
@@ -683,9 +681,7 @@ static void Close( vlc_object_t * p_this )
if
(
p_sys
->
psz_sdp_file
!=
NULL
)
{
#ifdef HAVE_UNISTD_H
unlink
(
p_sys
->
psz_sdp_file
);
#endif
free
(
p_sys
->
psz_sdp_file
);
}
free
(
p_sys
->
psz_vod_session
);
...
...
modules/text_renderer/svg.c
View file @
c4199ab6
...
...
@@ -35,12 +35,7 @@
#include <vlc_filter.h>
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#elif defined( _WIN32 )
# include <io.h>
#endif
#include <unistd.h>
#include <glib.h>
#include <glib/gstdio.h>
...
...
src/config/file.c
View file @
c4199ab6
...
...
@@ -35,9 +35,7 @@
#elif defined(HAVE_USELOCALE)
#include <locale.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <vlc_common.h>
#include "../libvlc.h"
...
...
src/input/es_out_timeshift.c
View file @
c4199ab6
...
...
@@ -35,9 +35,7 @@
# include <direct.h>
#endif
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <vlc_common.h>
#include <vlc_fs.h>
...
...
src/input/subtitles.c
View file @
c4199ab6
...
...
@@ -32,9 +32,7 @@
#endif
#include <ctype.h>
/* isalnum() */
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <sys/stat.h>
#include <vlc_common.h>
...
...
src/interface/interface.c
View file @
c4199ab6
...
...
@@ -38,9 +38,6 @@
#endif
#include <assert.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <vlc_common.h>
#include <vlc_modules.h>
...
...
src/misc/block.c
View file @
c4199ab6
...
...
@@ -31,9 +31,7 @@
#include <sys/stat.h>
#include <assert.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <fcntl.h>
#include <vlc_common.h>
...
...
src/misc/mtime.c
View file @
c4199ab6
...
...
@@ -36,9 +36,7 @@
#include <vlc_common.h>
#include <assert.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#if !defined (_POSIX_TIMERS) || defined (_WIN32)
# define _POSIX_TIMERS (-1)
#endif
...
...
src/modules/bank.c
View file @
c4199ab6
...
...
@@ -35,9 +35,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
...
...
src/modules/cache.c
View file @
c4199ab6
...
...
@@ -33,9 +33,7 @@
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <assert.h>
#include <vlc_common.h>
...
...
src/network/httpd.c
View file @
c4199ab6
...
...
@@ -44,10 +44,7 @@
#include <string.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifdef HAVE_POLL
# include <poll.h>
...
...
src/network/io.c
View file @
c4199ab6
...
...
@@ -42,9 +42,7 @@
#include <assert.h>
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifdef HAVE_POLL
# include <poll.h>
#endif
...
...
src/network/tcp.c
View file @
c4199ab6
...
...
@@ -34,10 +34,7 @@
#include <errno.h>
#include <assert.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifdef HAVE_POLL
# include <poll.h>
#endif
...
...
src/text/filesystem.c
View file @
c4199ab6
...
...
@@ -38,9 +38,7 @@
#include <errno.h>
#include <sys/types.h>
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
/**
* Opens a FILE pointer.
...
...
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