]> git.sesse.net Git - vlc/commitdiff
Remove useless <errno.h> inclusions
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 11 Jan 2010 16:56:36 +0000 (18:56 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 11 Jan 2010 17:08:42 +0000 (19:08 +0200)
51 files changed:
modules/access/dvb/http.c
modules/access/dvb/scan.c
modules/access/jack.c
modules/access/mmap.c
modules/access/pvr.c
modules/access/vcd/cdrom.c
modules/access_filter/bandwidth.c
modules/access_filter/dump.c
modules/access_output/udp.c
modules/audio_filter/normvol.c
modules/audio_output/file.c
modules/audio_output/hd1000a.cpp
modules/audio_output/oss.c
modules/codec/cc.c
modules/codec/subtitles/subsdec.h
modules/control/http/http.h
modules/control/http/mvar.c
modules/control/http/util.c
modules/demux/demuxdump.c
modules/demux/subtitle.c
modules/demux/subtitle_asa.c
modules/demux/vobsub.c
modules/gui/beos/VideoOutput.cpp
modules/gui/fbosd.c
modules/gui/macosx/vout.m
modules/gui/macosx/voutgl.m
modules/misc/freetype.c
modules/misc/lua/demux.c
modules/misc/notify/growl_udp.c
modules/misc/rtsp.c
modules/services_discovery/mtp.c
modules/services_discovery/podcast.c
modules/services_discovery/sap.c
modules/stream_out/mosaic_bridge.c
modules/video_filter/adjust.c
modules/video_filter/colorthres.c
modules/video_output/fb.c
modules/video_output/hd1000v.cpp
modules/video_output/omapfb.c
modules/visualization/goom.c
src/control/mediacontrol_audio_video.c
src/control/mediacontrol_core.c
src/control/mediacontrol_util.c
src/input/es_out_timeshift.c
src/libvlc.c
src/misc/epg.c
src/misc/objects.c
src/network/acl.c
src/playlist/loadsave.c
src/text/charset.c
src/text/wincp.c

index 6ea9d789b8e865cb846be540fe81bbf4da27cb16..f79216dd94fc73ff874b1d5224117315103fdf31 100644 (file)
@@ -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>
index 4fb409a467f11537921dc87fc5c3d7f2cb8e5264..f41364d5164cf14f3b50583d05be586bde63d7e1 100644 (file)
@@ -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
index 1e08c4cebf9f35a1fc0ce9be37e62c6e4ecd8f23..a8fcec5c9e92e875688819f1242f0d3cf690d4f1 100644 (file)
@@ -48,7 +48,6 @@
 #include <jack/jack.h>
 #include <jack/ringbuffer.h>
 
-#include <errno.h>
 #include <sys/types.h>
 #include <unistd.h>
 
index cc729bc19fc8ad463f7ae908c57323ba38142420..06092420c84af4c68ff2b8e46c2493c56fa4421a 100644 (file)
@@ -32,7 +32,6 @@
 
 #include <assert.h>
 
-#include <errno.h>
 #include <sys/types.h>
 #include <unistd.h>
 #include <fcntl.h>
index 212aa43f17f6330ff81cd936fec3710f8c6a12c9..0247a88dcea752c50206fb2ecdd3c4a36eb9f4e7 100644 (file)
@@ -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>
index d81706f9fa2a48890b7027b63391061afbaf1ec6..78246ea0aff917c22a4d87f93f1b41b9934eea29 100644 (file)
@@ -39,7 +39,6 @@
 #   include <unistd.h>
 #endif
 
-#include <errno.h>
 #ifdef HAVE_SYS_TYPES_H
 #   include <sys/types.h>
 #endif
index 43bce412c4a2f85fd8754abc9ff7668e984236f9..c9507b7808b92b832508848d1fba25d79db9184c 100644 (file)
@@ -27,7 +27,6 @@
 #include <vlc_plugin.h>
 
 #include <assert.h>
-#include <errno.h>
 
 #include <vlc_access.h>
 
index c4b0b5ce22710077e81d1de3f12d3a7300f708e7..fdb65fcc10c987e56555fdfb46bf8d042ad9eb2e 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <assert.h>
 #include <time.h>
-#include <errno.h>
 
 #include <vlc_access.h>
 
index dae64f1e477c6adf1f2a42e85680276a67252dc7..2733660eebc34e92dfc5d3aa596cb522455f8cfd 100644 (file)
@@ -34,7 +34,6 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <assert.h>
 
index 77c7ce69faf2b386891ad50e72be6ca478d68bfb..6a9dc2700bb1c0023a563a834b6c0380d7b3ffa6 100644 (file)
 # include "config.h"
 #endif
 
-#include <errno.h>                                                 /* ENOMEM */
-#include <ctype.h>
-
 #include <math.h>
 
-
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 
index 358cab3a39d4e02b540a46812062fcbe846a3cdb..79e968508d04f36f869eb06ffbdd121440776c65 100644 (file)
@@ -30,8 +30,6 @@
 # include "config.h"
 #endif
 
-#include <errno.h>
-
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_aout.h>
index e532dfafd6e096040d6f60d2ccc8a0ecdb985bb8..29481707c72ed01bf51b26ad13ce0d51c96d39ce 100644 (file)
@@ -26,8 +26,6 @@
  *****************************************************************************/
 extern "C"
 {
-#include <errno.h>
-
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
index 47062fe730c0d31c1aa39c92f0ab09c4fcecb841..38f49c9ffdf370c6a6f8e2b9f97f841e4b77db3b 100644 (file)
@@ -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() */
index 0e8ecb592fd02f796906cf5734ec494b8eb97514..3e659cde971561aa7130a5c13031119e7a1ceb36 100644 (file)
@@ -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>
index 39a06a6b34b73ec122114929d28df3028c3ab12a..11db067373f8c809864efcf0c38166461d9d25a8 100644 (file)
@@ -37,7 +37,6 @@
 #include <vlc_charset.h>
 #include <vlc_stream.h>
 #include <vlc_xml.h>
-#include <errno.h>
 #include <string.h>
 
 
index 3b2381b8479214916b3c6e2c3e67184bcb1e6df9..7fabbac7cc392ca9a87d1e6c8287e2c0111836b7 100644 (file)
@@ -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
index e0926f668f073f26014054d7dc4107674b6f4d1e..01b6cbfcd5ce938548482118e7f708e9dda81e87 100644 (file)
@@ -28,6 +28,7 @@
 
 #include "http.h"
 #include <limits.h>
+#include <errno.h>
 
 /* Utility function for scandir */
 static int Filter( const char *foo )
index f1d06cf8c218e85ccb8122feb2ea82201c1c46ae..7f21ebc93a683ef798e97d7266fa4ff5b792e4e7 100644 (file)
@@ -30,6 +30,7 @@
 #include <vlc_common.h>
 #include "http.h"
 #include <vlc_strings.h>
+#include <errno.h>
 
 /****************************************************************************
  * File and directory functions
index 56d7427646ddee2724e4318a76a1d1b78707802a..7c5db5234e034f826c2a6c9898b3b396afc56fea 100644 (file)
@@ -29,8 +29,6 @@
 # include "config.h"
 #endif
 
-#include <errno.h>
-
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_demux.h>
index 8b77dd3ac4efd22f144132b13627da07a46ebbdb..ce9701236600bf2af67f7aecd2f03ed605279c26 100644 (file)
@@ -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
index 30d78d10fa9aa935dd5ad8657f36d2f0fbbc06e3..d45c739c55ece33021cf397cf36744336ba456d4 100644 (file)
@@ -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
index ef5dd3a9c246a33de8b361fe962296b67dbd0e1f..49cb27cd1482b31c26fd8cef2d741bdb6cd70a8f 100644 (file)
@@ -32,7 +32,6 @@
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 
-#include <errno.h>
 #include <sys/types.h>
 #include <limits.h>
 
index e6538bd8544083dd11c6d47f25f6f611d112b3cb..e7977e80f301e8937b25dc2a0a644f3b4ca9a040 100644 (file)
@@ -28,8 +28,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <errno.h>                                                 /* ENOMEM */
-
 #include <Application.h>
 #include <BitmapStream.h>
 #include <Bitmap.h>
index fd9febbc8576bc2611010de5661f4eb47f27e0da..c74a8fe4a98d60c1a0be4554c8efe0f65e762e19 100644 (file)
@@ -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() */
index ebc803af1470ff56f4e823802292cd69b5808040..16c03f23909e6fb7d62507085b85e71caa344b8a 100644 (file)
@@ -30,7 +30,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <errno.h>                                                 /* ENOMEM */
 #include <stdlib.h>                                                /* free() */
 #include <string.h>
 
index d26001a0b803c2114aae9fe8d07dba2fbf9915f5..abe1a321e639c83ebf0b6da6ddbbba7a62d61318 100644 (file)
@@ -30,7 +30,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <errno.h>                                                 /* ENOMEM */
 #include <stdlib.h>                                                /* free() */
 #include <string.h>
 
index 1aa10954eeb0d6f9be3d9421a19662f17c2aa9c6..edc9528de5b6d3a28cba50d3b65dc1c2108fff9c 100644 (file)
@@ -43,7 +43,6 @@
 #include <vlc_memory.h>
 
 #include <math.h>
-#include <errno.h>
 
 #include <ft2build.h>
 #include FT_FREETYPE_H
index e674998f7bfa954a269d8d64526c193e2212c530..09d5f89e0acaa09e325f7d079810f4050c6dd4fb 100644 (file)
@@ -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
index 72dfc9c9520b336479cb252656636e1e796d1e83..7ba388a5797ad337698050d17fe675d17969eae5 100644 (file)
@@ -35,7 +35,6 @@
 #include <vlc_playlist.h>
 #include <vlc_meta.h>
 #include <vlc_network.h>
-#include <errno.h>
 #include <vlc_md5.h>
 
 /*****************************************************************************
index 2cef452fef8cb5a6e61b45ca12c17fe6b76fd98f..131c697433672927611178a6ee8f031df53264e2 100644 (file)
@@ -43,8 +43,6 @@
 #include <vlc_charset.h>
 #include <vlc_strings.h>
 
-#include <errno.h>
-
 #ifndef WIN32
 # include <locale.h>
 #endif
index 3a4495faf460a712378ad4c918820d08e8646d82..f40fd07576a966fad250460e3da813e02ba0505a 100644 (file)
@@ -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>
index a75f7131eb722f7364a324a24c0a40b841233632..19c4a67ee6f66f195cc82d247edc473ee224e6be 100644 (file)
@@ -37,8 +37,6 @@
 #include <vlc_network.h>
 #include <assert.h>
 
-#include <errno.h>                                                 /* ENOMEM */
-
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
index faf15f4726ab72614edbe52eb31a7901ce31d8fe..288d307d33e78e41c31b4b1544c2d7de02d3bc68 100644 (file)
@@ -41,7 +41,6 @@
 #include <vlc_charset.h>
 
 #include <ctype.h>
-#include <errno.h>
 
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
index 5f950e7a94acf481a363aabb77123555f3c51f73..d39990f7011533e27e23ada8e0513f0bfa5d8c0b 100644 (file)
@@ -30,8 +30,6 @@
 # include "config.h"
 #endif
 
-#include <errno.h>                                                 /* ENOMEM */
-
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_sout.h>
index 0f9811b805cb1cb8040e75fee81fbc21e6528a03..35f7e1d824df73a3ab0a7a8f7c6014633df899c2 100644 (file)
@@ -30,7 +30,6 @@
 # include "config.h"
 #endif
 
-#include <errno.h>
 #include <math.h>
 
 #include <vlc_common.h>
index 9fe2690c2e1ef19f0d1594275d98a665e9e5e6bf..3ab6d44f3f0738ce7a061aaef99619a3fdfe432f 100644 (file)
@@ -30,7 +30,6 @@
 # include "config.h"
 #endif
 
-#include <errno.h>
 #include <math.h>
 
 #include <vlc_common.h>
index b394cb0e02c45fdcdaf3d0cf2e93490376d73df2..c6879f3c11da1d8aab25de06daa800b28df355c8 100644 (file)
@@ -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() */
index 5b55b0bd228824e85f46d9f07d4d84b13dfac007..823a3d419093035ece31994880b16c3259a92544 100644 (file)
@@ -25,8 +25,6 @@
  * Preamble
  *****************************************************************************/
 extern "C" {
-#include <errno.h>                                                 /* ENOMEM */
-
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
index 45d77161e4f21e12ee4de51ddcf86a242efab3f7..08105b8562a76bd514b4ea44c2d8f1e71149ec0e 100644 (file)
@@ -27,7 +27,6 @@
 # include "config.h"
 #endif
 
-#include <errno.h>                                                 /* ENOMEM */
 #include <fcntl.h>                                                 /* open() */
 #include <unistd.h>                                               /* close() */
 
index f6922ddbd8c4251d0173cf507ae3b5e4e9767ac7..6d93663273913c7c63ffdca03f40cdf946b2e5e0 100644 (file)
@@ -25,8 +25,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <errno.h>
-
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
index da538cc648f1fa6570e6c26b5d61309c5c775ab1..c23b45d826bc7345cb60b38ec1ce712fd860fe31 100644 (file)
@@ -39,7 +39,6 @@
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
 
-#include <errno.h>                                                 /* ENOMEM */
 #include <stdio.h>
 #include <ctype.h>
 
index 7fd47341b021f621afcb0ae6ee5d6dea9712a008..1b66e39e5c9239b7631c4a5cba09f4dc527fa72b 100644 (file)
@@ -41,7 +41,6 @@
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
 
-#include <errno.h>                                                 /* ENOMEM */
 #include <stdio.h>
 #include <ctype.h>
 
index 5a802b54a60dcca3a7bc444922fdd8434cc02107..de01a8a90462a7a1903a46dd3d369e5ba4830cf9 100644 (file)
@@ -35,7 +35,6 @@
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
 
-#include <errno.h>                                                 /* ENOMEM */
 #include <stdio.h>
 #include <ctype.h>
 
index dbfe97f9a8d39754cfab96884cfb71490e079dd1..4609347d30dc8c2fd4e31028a71d76618842e871 100644 (file)
@@ -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>
index 3543e96f6ba9434ba2a5041090046366ef7a635a..895229171831dda719c3271042f4f170500ff8d0 100644 (file)
@@ -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() */
index 3074c77e34fba1226caee791b7cd763411ed27d2..ccf555f34178be394237080c20af5104b427d8b1 100644 (file)
@@ -30,7 +30,6 @@
 #endif
 
 #include <ctype.h>
-#include <errno.h>
 
 #include <vlc_common.h>
 #include <vlc_epg.h>
index 1ddda1ede6af847356fa509bb4c3753b99f87155..f7eb7db0bc42bcb8221e81ac6085e62ddadf991c 100644 (file)
@@ -51,7 +51,6 @@
 #else
 # include <io.h>
 # include <fcntl.h>
-# include <errno.h> /* ENOSYS */
 #endif
 
 #include <search.h>
index ee98e3b48b3d4d0d256e6c2f59d6e431f323afd0..5c4ffd3058116cff7f98f2d1f228300a60a0aff1 100644 (file)
@@ -33,8 +33,6 @@
 #include <ctype.h>
 #include <vlc_acl.h>
 
-#include <errno.h>
-
 #include <vlc_network.h>
 #include <vlc_charset.h>
 
index f454f459bd0e0b23cd6ba3e6c53802849a71a95c..cd51e82ea96d1739d0b2769ea6bd109336adcaea 100644 (file)
@@ -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 )
index 7812cb917edf046c0f8e15e6bdbd659ed7d189f7..07b814ee09a9a372195fb1f915fff25471d20d9a 100644 (file)
@@ -36,7 +36,6 @@
 #endif
 
 #ifdef __APPLE__
-#   include <errno.h>
 #   include <string.h>
 #   include <xlocale.h>
 #endif
index 9848d26ac9622290ef65785daf5972dd3ca310a3..66013c4f0dbb6c8a57b2b3303856d974ed9c88df 100644 (file)
@@ -35,7 +35,6 @@
 #endif
 
 #ifdef __APPLE__
-#   include <errno.h>
 #   include <string.h>
 #endif