Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
22fdf98f
Commit
22fdf98f
authored
Jan 11, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless <errno.h> inclusions
parent
3ea9fb9c
Changes
51
Hide whitespace changes
Inline
Side-by-side
Showing
51 changed files
with
3 additions
and
66 deletions
+3
-66
modules/access/dvb/http.c
modules/access/dvb/http.c
+0
-2
modules/access/dvb/scan.c
modules/access/dvb/scan.c
+1
-3
modules/access/jack.c
modules/access/jack.c
+0
-1
modules/access/mmap.c
modules/access/mmap.c
+0
-1
modules/access/pvr.c
modules/access/pvr.c
+0
-1
modules/access/vcd/cdrom.c
modules/access/vcd/cdrom.c
+0
-1
modules/access_filter/bandwidth.c
modules/access_filter/bandwidth.c
+0
-1
modules/access_filter/dump.c
modules/access_filter/dump.c
+0
-1
modules/access_output/udp.c
modules/access_output/udp.c
+0
-1
modules/audio_filter/normvol.c
modules/audio_filter/normvol.c
+0
-4
modules/audio_output/file.c
modules/audio_output/file.c
+0
-2
modules/audio_output/hd1000a.cpp
modules/audio_output/hd1000a.cpp
+0
-2
modules/audio_output/oss.c
modules/audio_output/oss.c
+0
-1
modules/codec/cc.c
modules/codec/cc.c
+0
-1
modules/codec/subtitles/subsdec.h
modules/codec/subtitles/subsdec.h
+0
-1
modules/control/http/http.h
modules/control/http/http.h
+0
-1
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/demux/demuxdump.c
modules/demux/demuxdump.c
+0
-2
modules/demux/subtitle.c
modules/demux/subtitle.c
+0
-1
modules/demux/subtitle_asa.c
modules/demux/subtitle_asa.c
+0
-2
modules/demux/vobsub.c
modules/demux/vobsub.c
+0
-1
modules/gui/beos/VideoOutput.cpp
modules/gui/beos/VideoOutput.cpp
+0
-2
modules/gui/fbosd.c
modules/gui/fbosd.c
+0
-1
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+0
-1
modules/gui/macosx/voutgl.m
modules/gui/macosx/voutgl.m
+0
-1
modules/misc/freetype.c
modules/misc/freetype.c
+0
-1
modules/misc/lua/demux.c
modules/misc/lua/demux.c
+0
-1
modules/misc/notify/growl_udp.c
modules/misc/notify/growl_udp.c
+0
-1
modules/misc/rtsp.c
modules/misc/rtsp.c
+0
-2
modules/services_discovery/mtp.c
modules/services_discovery/mtp.c
+0
-1
modules/services_discovery/podcast.c
modules/services_discovery/podcast.c
+0
-2
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+0
-1
modules/stream_out/mosaic_bridge.c
modules/stream_out/mosaic_bridge.c
+0
-2
modules/video_filter/adjust.c
modules/video_filter/adjust.c
+0
-1
modules/video_filter/colorthres.c
modules/video_filter/colorthres.c
+0
-1
modules/video_output/fb.c
modules/video_output/fb.c
+0
-1
modules/video_output/hd1000v.cpp
modules/video_output/hd1000v.cpp
+0
-2
modules/video_output/omapfb.c
modules/video_output/omapfb.c
+0
-1
modules/visualization/goom.c
modules/visualization/goom.c
+0
-2
src/control/mediacontrol_audio_video.c
src/control/mediacontrol_audio_video.c
+0
-1
src/control/mediacontrol_core.c
src/control/mediacontrol_core.c
+0
-1
src/control/mediacontrol_util.c
src/control/mediacontrol_util.c
+0
-1
src/input/es_out_timeshift.c
src/input/es_out_timeshift.c
+0
-1
src/libvlc.c
src/libvlc.c
+0
-1
src/misc/epg.c
src/misc/epg.c
+0
-1
src/misc/objects.c
src/misc/objects.c
+0
-1
src/network/acl.c
src/network/acl.c
+0
-2
src/playlist/loadsave.c
src/playlist/loadsave.c
+0
-1
src/text/charset.c
src/text/charset.c
+0
-1
src/text/wincp.c
src/text/wincp.c
+0
-1
No files found.
modules/access/dvb/http.c
View file @
22fdf98f
...
...
@@ -38,8 +38,6 @@
#include <fcntl.h>
#include <sys/types.h>
#include <errno.h>
/* Include dvbpsi headers */
#ifdef HAVE_DVBPSI_DR_H
# include <dvbpsi/dvbpsi.h>
...
...
modules/access/dvb/scan.c
View file @
22fdf98f
...
...
@@ -38,9 +38,7 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/poll.h>
#include <errno.h>
#include <poll.h>
/* Include dvbpsi headers */
#ifdef HAVE_DVBPSI_DR_H
...
...
modules/access/jack.c
View file @
22fdf98f
...
...
@@ -48,7 +48,6 @@
#include <jack/jack.h>
#include <jack/ringbuffer.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
...
...
modules/access/mmap.c
View file @
22fdf98f
...
...
@@ -32,7 +32,6 @@
#include <assert.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
...
...
modules/access/pvr.c
View file @
22fdf98f
...
...
@@ -38,7 +38,6 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <linux/types.h>
#include <sys/ioctl.h>
#include <sys/poll.h>
...
...
modules/access/vcd/cdrom.c
View file @
22fdf98f
...
...
@@ -39,7 +39,6 @@
# include <unistd.h>
#endif
#include <errno.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
...
...
modules/access_filter/bandwidth.c
View file @
22fdf98f
...
...
@@ -27,7 +27,6 @@
#include <vlc_plugin.h>
#include <assert.h>
#include <errno.h>
#include <vlc_access.h>
...
...
modules/access_filter/dump.c
View file @
22fdf98f
...
...
@@ -30,7 +30,6 @@
#include <assert.h>
#include <time.h>
#include <errno.h>
#include <vlc_access.h>
...
...
modules/access_output/udp.c
View file @
22fdf98f
...
...
@@ -34,7 +34,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <assert.h>
...
...
modules/audio_filter/normvol.c
View file @
22fdf98f
...
...
@@ -36,12 +36,8 @@
# include "config.h"
#endif
#include <errno.h>
/* ENOMEM */
#include <ctype.h>
#include <math.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
...
...
modules/audio_output/file.c
View file @
22fdf98f
...
...
@@ -30,8 +30,6 @@
# include "config.h"
#endif
#include <errno.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_aout.h>
...
...
modules/audio_output/hd1000a.cpp
View file @
22fdf98f
...
...
@@ -26,8 +26,6 @@
*****************************************************************************/
extern
"C"
{
#include <errno.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
...
...
modules/audio_output/oss.c
View file @
22fdf98f
...
...
@@ -31,7 +31,6 @@
# include "config.h"
#endif
#include <errno.h>
/* ENOMEM */
#include <fcntl.h>
/* open(), O_WRONLY */
#include <sys/ioctl.h>
/* ioctl() */
#include <unistd.h>
/* write(), close() */
...
...
modules/codec/cc.c
View file @
22fdf98f
...
...
@@ -48,7 +48,6 @@
#include <vlc_charset.h>
#include <vlc_stream.h>
#include <vlc_xml.h>
#include <errno.h>
#include <string.h>
#include <assert.h>
...
...
modules/codec/subtitles/subsdec.h
View file @
22fdf98f
...
...
@@ -37,7 +37,6 @@
#include <vlc_charset.h>
#include <vlc_stream.h>
#include <vlc_xml.h>
#include <errno.h>
#include <string.h>
...
...
modules/control/http/http.h
View file @
22fdf98f
...
...
@@ -48,7 +48,6 @@
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include <errno.h>
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
...
...
modules/control/http/mvar.c
View file @
22fdf98f
...
...
@@ -28,6 +28,7 @@
#include "http.h"
#include <limits.h>
#include <errno.h>
/* Utility function for scandir */
static
int
Filter
(
const
char
*
foo
)
...
...
modules/control/http/util.c
View file @
22fdf98f
...
...
@@ -30,6 +30,7 @@
#include <vlc_common.h>
#include "http.h"
#include <vlc_strings.h>
#include <errno.h>
/****************************************************************************
* File and directory functions
...
...
modules/demux/demuxdump.c
View file @
22fdf98f
...
...
@@ -29,8 +29,6 @@
# include "config.h"
#endif
#include <errno.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_demux.h>
...
...
modules/demux/subtitle.c
View file @
22fdf98f
...
...
@@ -36,7 +36,6 @@
#include <vlc_input.h>
#include <vlc_memory.h>
#include <errno.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
...
...
modules/demux/subtitle_asa.c
View file @
22fdf98f
...
...
@@ -35,8 +35,6 @@
#include <vlc_input.h>
#include <vlc_memory.h>
#include <errno.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
...
...
modules/demux/vobsub.c
View file @
22fdf98f
...
...
@@ -32,7 +32,6 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <errno.h>
#include <sys/types.h>
#include <limits.h>
...
...
modules/gui/beos/VideoOutput.cpp
View file @
22fdf98f
...
...
@@ -28,8 +28,6 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h>
/* ENOMEM */
#include <Application.h>
#include <BitmapStream.h>
#include <Bitmap.h>
...
...
modules/gui/fbosd.c
View file @
22fdf98f
...
...
@@ -33,7 +33,6 @@
#include <vlc_plugin.h>
#include <vlc_charset.h>
#include <errno.h>
#include <stdlib.h>
/* free() */
#include <string.h>
/* strerror() */
#include <fcntl.h>
/* open() */
...
...
modules/gui/macosx/vout.m
View file @
22fdf98f
...
...
@@ -30,7 +30,6 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h>
/* ENOMEM */
#include <stdlib.h>
/* free() */
#include <string.h>
...
...
modules/gui/macosx/voutgl.m
View file @
22fdf98f
...
...
@@ -30,7 +30,6 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h>
/* ENOMEM */
#include <stdlib.h>
/* free() */
#include <string.h>
...
...
modules/misc/freetype.c
View file @
22fdf98f
...
...
@@ -43,7 +43,6 @@
#include <vlc_memory.h>
#include <math.h>
#include <errno.h>
#include <ft2build.h>
#include FT_FREETYPE_H
...
...
modules/misc/lua/demux.c
View file @
22fdf98f
...
...
@@ -36,7 +36,6 @@
#include <vlc_strings.h>
#include <vlc_charset.h>
#include <errno.h>
/* ENOMEM */
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
...
...
modules/misc/notify/growl_udp.c
View file @
22fdf98f
...
...
@@ -35,7 +35,6 @@
#include <vlc_playlist.h>
#include <vlc_meta.h>
#include <vlc_network.h>
#include <errno.h>
#include <vlc_md5.h>
/*****************************************************************************
...
...
modules/misc/rtsp.c
View file @
22fdf98f
...
...
@@ -43,8 +43,6 @@
#include <vlc_charset.h>
#include <vlc_strings.h>
#include <errno.h>
#ifndef WIN32
# include <locale.h>
#endif
...
...
modules/services_discovery/mtp.c
View file @
22fdf98f
...
...
@@ -27,7 +27,6 @@
#include <vlc_common.h>
#include <vlc_playlist.h>
#include <vlc_plugin.h>
#include <errno.h>
#include <vlc_charset.h>
#include <vlc_interface.h>
#include <vlc_services_discovery.h>
...
...
modules/services_discovery/podcast.c
View file @
22fdf98f
...
...
@@ -37,8 +37,6 @@
#include <vlc_network.h>
#include <assert.h>
#include <errno.h>
/* ENOMEM */
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
modules/services_discovery/sap.c
View file @
22fdf98f
...
...
@@ -41,7 +41,6 @@
#include <vlc_charset.h>
#include <ctype.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
...
...
modules/stream_out/mosaic_bridge.c
View file @
22fdf98f
...
...
@@ -30,8 +30,6 @@
# include "config.h"
#endif
#include <errno.h>
/* ENOMEM */
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>
...
...
modules/video_filter/adjust.c
View file @
22fdf98f
...
...
@@ -30,7 +30,6 @@
# include "config.h"
#endif
#include <errno.h>
#include <math.h>
#include <vlc_common.h>
...
...
modules/video_filter/colorthres.c
View file @
22fdf98f
...
...
@@ -30,7 +30,6 @@
# include "config.h"
#endif
#include <errno.h>
#include <math.h>
#include <vlc_common.h>
...
...
modules/video_output/fb.c
View file @
22fdf98f
...
...
@@ -30,7 +30,6 @@
# include "config.h"
#endif
#include <errno.h>
/* ENOMEM */
#include <signal.h>
/* SIGUSR1, SIGUSR2 */
#include <fcntl.h>
/* open() */
#include <unistd.h>
/* close() */
...
...
modules/video_output/hd1000v.cpp
View file @
22fdf98f
...
...
@@ -25,8 +25,6 @@
* Preamble
*****************************************************************************/
extern
"C"
{
#include <errno.h>
/* ENOMEM */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
...
...
modules/video_output/omapfb.c
View file @
22fdf98f
...
...
@@ -27,7 +27,6 @@
# include "config.h"
#endif
#include <errno.h>
/* ENOMEM */
#include <fcntl.h>
/* open() */
#include <unistd.h>
/* close() */
...
...
modules/visualization/goom.c
View file @
22fdf98f
...
...
@@ -25,8 +25,6 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
...
...
src/control/mediacontrol_audio_video.c
View file @
22fdf98f
...
...
@@ -39,7 +39,6 @@
#include <stdlib.h>
/* malloc(), free() */
#include <string.h>
#include <errno.h>
/* ENOMEM */
#include <stdio.h>
#include <ctype.h>
...
...
src/control/mediacontrol_core.c
View file @
22fdf98f
...
...
@@ -41,7 +41,6 @@
#include <stdlib.h>
/* malloc(), free() */
#include <string.h>
#include <errno.h>
/* ENOMEM */
#include <stdio.h>
#include <ctype.h>
...
...
src/control/mediacontrol_util.c
View file @
22fdf98f
...
...
@@ -35,7 +35,6 @@
#include <stdlib.h>
/* malloc(), free() */
#include <string.h>
#include <errno.h>
/* ENOMEM */
#include <stdio.h>
#include <ctype.h>
...
...
src/input/es_out_timeshift.c
View file @
22fdf98f
...
...
@@ -30,7 +30,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <assert.h>
#if defined (WIN32) && !defined (UNDER_CE)
# include <direct.h>
...
...
src/libvlc.c
View file @
22fdf98f
...
...
@@ -43,7 +43,6 @@
#include "modules/modules.h"
#include "config/configuration.h"
#include <errno.h>
/* ENOMEM */
#include <stdio.h>
/* sprintf() */
#include <string.h>
#include <stdlib.h>
/* free() */
...
...
src/misc/epg.c
View file @
22fdf98f
...
...
@@ -30,7 +30,6 @@
#endif
#include <ctype.h>
#include <errno.h>
#include <vlc_common.h>
#include <vlc_epg.h>
...
...
src/misc/objects.c
View file @
22fdf98f
...
...
@@ -51,7 +51,6 @@
#else
# include <io.h>
# include <fcntl.h>
# include <errno.h>
/* ENOSYS */
#endif
#include <search.h>
...
...
src/network/acl.c
View file @
22fdf98f
...
...
@@ -33,8 +33,6 @@
#include <ctype.h>
#include <vlc_acl.h>
#include <errno.h>
#include <vlc_network.h>
#include <vlc_charset.h>
...
...
src/playlist/loadsave.c
View file @
22fdf98f
...
...
@@ -35,7 +35,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
int
playlist_Export
(
playlist_t
*
p_playlist
,
const
char
*
psz_filename
,
playlist_item_t
*
p_export_root
,
const
char
*
psz_type
)
...
...
src/text/charset.c
View file @
22fdf98f
...
...
@@ -36,7 +36,6 @@
#endif
#ifdef __APPLE__
# include <errno.h>
# include <string.h>
# include <xlocale.h>
#endif
...
...
src/text/wincp.c
View file @
22fdf98f
...
...
@@ -35,7 +35,6 @@
#endif
#ifdef __APPLE__
# include <errno.h>
# include <string.h>
#endif
...
...
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