]> git.sesse.net Git - vlc/commitdiff
Remember not to include anything before vlc/vlc.h
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 20 Aug 2007 18:59:30 +0000 (18:59 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 20 Aug 2007 18:59:30 +0000 (18:59 +0000)
(which includes config.h which defines the platform feature macros)
Also remember stdio, string and stdlib are included implicitly

56 files changed:
src/audio_output/common.c
src/audio_output/dec.c
src/audio_output/filters.c
src/audio_output/input.c
src/audio_output/mixer.c
src/audio_output/output.c
src/control/audio.c
src/control/libvlc_internal.h
src/control/media_instance.c
src/control/mediacontrol_core.c
src/control/mediacontrol_util.c
src/control/video.c
src/control/vlm.c
src/extras/libc.c
src/input/access.c
src/input/clock.c
src/input/decoder.c
src/input/demux.c
src/input/es_out.c
src/input/input.c
src/input/mem_stream.c
src/input/stream.c
src/input/subtitles.c
src/input/vlm.c
src/interface/interface.c
src/interface/intf_eject.c
src/misc/block.c
src/misc/darwin_specific.c
src/misc/events.c
src/misc/messages.c
src/misc/mtime.c
src/misc/objects.c
src/misc/threads.c
src/misc/update.c
src/misc/variables.c
src/misc/win32_specific.c
src/misc/xml.c
src/modules/configuration.c
src/modules/configuration_chain.c
src/network/acl.c
src/network/httpd.c
src/network/tcp.c
src/network/tls.c
src/network/udp.c
src/osd/osd.c
src/osd/osd_parser.c
src/osd/osd_widgets.c
src/stream_output/announce.c
src/text/charset.c
src/text/strings.c
src/text/wincp.c
src/video_output/video_widgets.c
src/video_output/vout_pictures.c
src/video_output/vout_subpictures.c
src/video_output/vout_synchro.c
src/vlc.c

index 67f61aa58df4950c53244d9fc49eabcecd54df70..928641d9954c720c4c6c24fdbecf76a3b6c93496 100644 (file)
@@ -24,9 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                            /* calloc(), malloc(), free() */
-#include <string.h>
-
 #include <vlc/vlc.h>
 #include <vlc_aout.h>
 #include "aout_internal.h"
index cf9313e7b7a9107590b07da291d2f2efc6d4a235..24e59b27a1c50da46135206fdd2f5d733fc406e7 100644 (file)
@@ -24,9 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                            /* calloc(), malloc(), free() */
-#include <string.h>
-
 #include <vlc/vlc.h>
 
 #ifdef HAVE_ALLOCA_H
index 975129cbf8bd726460782b636f7e82ea6a2a4333..9878911075c2b9128f57b03baff680b89a7ebc0b 100644 (file)
@@ -24,9 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                            /* calloc(), malloc(), free() */
-#include <string.h>
-
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
 
index 550422fc0dbd622b3d58a5616be7e798a3e3edf7..06daa052b580f5f7567a9ac127e30e4188fa6851 100644 (file)
@@ -28,7 +28,6 @@
 #include <vlc/vlc.h>
 
 #include <stdio.h>
-#include <stdlib.h>                            /* calloc(), malloc(), free() */
 #include <string.h>
 #include <math.h>
 
index ee2de270a080fdbc41b4a62a7e32b94578b85177..cbcfcc3e10df1f5d56b93f0d205549c789611089 100644 (file)
@@ -24,9 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                            /* calloc(), malloc(), free() */
-#include <string.h>
-
 #include <vlc/vlc.h>
 
 #ifdef HAVE_ALLOCA_H
index f425ccac5990aee3a89c1325ae00d276e5396421..86f8a06a0afd24ee18e92225a6de28fc64158c92 100644 (file)
@@ -24,9 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                            /* calloc(), malloc(), free() */
-#include <string.h>
-
 #include <vlc/vlc.h>
 #include <vlc_aout.h>
 #include "aout_internal.h"
index 24abbdf180c9fa94ff55c990b166693019b47ddf..a0d5fcc50914cc1755e98d3ce1e9bfeb803361dc 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include "libvlc_internal.h"
 #include <vlc/libvlc.h>
 
 #include <vlc_input.h>
 #include <vlc_aout.h>
 
+#include "libvlc_internal.h"
+
+
 /*
  * Remember to release the returned aout_instance_t since it is locked at
  * the end of this function.
index 54520528b6f910fba02beea52c0092c4140538e9..72257ad4e5b198766a19424b79c1800a64f3c7bb 100644 (file)
 #ifndef _LIBVLC_INTERNAL_H
 #define _LIBVLC_INTERNAL_H 1
 
-# ifdef __cplusplus
-extern "C" {
-# endif
-
 #include <vlc/vlc.h>
 #include <vlc/libvlc_structures.h>
 
 #include <vlc_arrays.h>
 #include <vlc_input.h>
-    
+
+# ifdef __cplusplus
+extern "C" {
+# endif
+
 /***************************************************************************
  * Internal creation and destruction functions
  ***************************************************************************/
index 9afaa677617d48823751c2640b3e0759a6a0b316..3aeecbdc37678c4519bf01fb7830a30625b13a81 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include "libvlc_internal.h"
 #include <vlc/libvlc.h>
 #include <vlc_demux.h>
 #include <vlc_input.h>
 #include "input/input_internal.h"
+#include "libvlc_internal.h"
 
 /*
  * Release the associated input thread
index bfe8bee9dbcea9921436f001ec525b91824dc4b4..48009bcb517691df513ee9ef2a5702847f038e1f 100644 (file)
@@ -21,7 +21,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include "mediacontrol_internal.h"
 #include <vlc/mediacontrol.h>
 
 #include <vlc/libvlc.h>
@@ -32,6 +31,7 @@
 #include <vlc_aout.h>
 #include <vlc_input.h>
 #include <vlc_osd.h>
+#include "mediacontrol_internal.h"
 
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
index 70874da20fe41e25f8d58864078443a8fb20ab22..03ac81b414f76a0e2d3c85381e95fa906346296c 100644 (file)
@@ -21,7 +21,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include "mediacontrol_internal.h"
 #include <vlc/mediacontrol.h>
 
 #include <vlc_interface.h>
@@ -31,6 +30,7 @@
 
 #include <vlc_vout.h>
 #include <vlc_osd.h>
+#include "mediacontrol_internal.h"
 
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
index 90b6d8c89a8d6f26ea079789f7a2676ed8a28a0c..c77450e9a202222996ac71d4fecdf106eeef6e46 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include "libvlc_internal.h"
 #include <vlc/libvlc.h>
 #include <vlc_input.h>
 #include <vlc_vout.h>
 
+#include "libvlc_internal.h"
+
 /*
  * Remember to release the returned vout_thread_t since it is locked at
  * the end of this function.
index 8385b113d9e6dde8bc7a7b8cee2ade35705a0ed2..6072eec2c725f23340d38b3685b179139c9ba21a 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include "libvlc_internal.h"
 #include <vlc/libvlc.h>
 #include <vlc_es.h>
 #include <vlc_input.h>
 #include <vlc_vlm.h>
 
+#include "libvlc_internal.h"
+
 #if 0
 /* local function to be used in libvlc_vlm_show_media only */
 static char* recurse_answer( char* psz_prefix, vlm_message_t *p_answer ) {
index 03423804f9ad0bd87ec650bb15ccd3152e44be2e..152053c29dce272e70755227d25769775a474bfa 100644 (file)
@@ -27,8 +27,6 @@
  *****************************************************************************/
 #include <vlc/vlc.h>
 
-#include <string.h>                                              /* strdup() */
-#include <stdlib.h>
 #include <ctype.h>
 
 
index 0fa511ddf528c805cf9344e4a88871caa7fb6d43..24b4fa01b930588787f049dc5cc0ecdb3518ae19 100644 (file)
@@ -21,7 +21,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include <stdlib.h>
 #include <vlc/vlc.h>
 
 #include "input_internal.h"
index 25d7558f253df7d649d352ba07f9459a4105a06f..91db272884af6dc31e3074d0241f29371f01606b 100644 (file)
@@ -24,7 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>
 #include <vlc/vlc.h>
 
 #include "input_internal.h"
index 1b5facd8b6660f5bbc45f2dee21b5e52410988b8..a384635ac5a6a46ad8a364fcf2072035984a9610 100644 (file)
@@ -26,7 +26,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>
 #include <vlc/vlc.h>
 
 #include <vlc_block.h>
index 91d2077e131f71dd977c6ff6aa5c53ebdb88d40b..b6857dc432e04eafe898be9c152e544045d4d8f4 100644 (file)
@@ -21,7 +21,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include <stdlib.h>
 #include <vlc/vlc.h>
 
 #include "input_internal.h"
index 517a3787565d61f6703978f0431af9cef2baacd9..a0a782c90acd5aac6601047627d301b63bde89fc 100644 (file)
@@ -28,7 +28,6 @@
 #include <vlc/vlc.h>
 
 #include <stdio.h>
-#include <stdlib.h>
 
 #include <vlc_input.h>
 #include <vlc_es_out.h>
index 058a35609f28aa2c9b88a669b7564200fc0ef638..1d83125fdb9289ff51f56bde4cd45d30e5be9018 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>
-#include <ctype.h>
-
 #include <vlc/vlc.h>
 
+#include <ctype.h>
+
 #include "input_internal.h"
 
 #include <vlc_sout.h>
index 5c49dfcde912acbd88fc208a7eadd9bbd26ac9e1..d70aa940ad9043a31a1aa18757a7062a8c6727c2 100644 (file)
@@ -21,7 +21,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include <stdlib.h>
 #include <vlc/vlc.h>
 
 #include "input_internal.h"
index 4119e531e8a514ce08e22aed87313d77691739be..8b831246c6b704172f28919f3356bcfef214064f 100644 (file)
@@ -21,7 +21,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include <stdlib.h>
 #include <vlc/vlc.h>
 
 #include "input_internal.h"
index dbd54788693eab608ae23733446f4f8dbbe8ea33..04aae00745c19d773650275bbff64424c6e4f159 100644 (file)
@@ -27,7 +27,6 @@
  *  This file contains functions to dectect subtitle files.
  */
 
-#include <stdlib.h>
 #include <vlc/vlc.h>
 #include <vlc_input.h>
 #include <vlc_charset.h>
index 84457ec947805d940a9da58d8d527aae69a85d34..c8a4e96013111e953b55db3a771a0966786d0b72 100644 (file)
@@ -29,7 +29,6 @@
 #include <vlc/vlc.h>
 
 #include <stdio.h>
-#include <stdlib.h>                                      /* malloc(), free() */
 #include <ctype.h>                                              /* tolower() */
 #include <assert.h>
 
index 726b21cfa7ab67592b2420eaf0c95d0c382e8719..b470f9d2f36b1913ddd5379584729dd65dc904cb 100644 (file)
@@ -32,9 +32,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* free(), strtol() */
-#include <stdio.h>                                                   /* FILE */
-#include <string.h>                                            /* strerror() */
 
 #include <vlc/vlc.h>
 
index 4c428d1aa1cc9d46b55c7d54fbcf59a13debb5d2..fd792f71306188a85a8c63b669ba8c29d4fd4308 100644 (file)
@@ -1,39 +1,5 @@
-/*****************************************************************************
- * intf_eject.c: CD/DVD-ROM ejection handling functions
- *****************************************************************************
- * Copyright (C) 2001-2004 the VideoLAN team
- * $Id$
- *
- * Authors: Julien Blache <jb@technologeek.org> for the Linux part
- *                with code taken from the Linux "eject" command
- *          Jon Lech Johansen <jon-vl@nanocrew.net> for Darwin
- *          Gildas Bazin <gbazin@netcourrier.com> for Win32
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
-
-/**
- *  \file
- *  This file contain functions to eject CD and DVD drives
- */
-
 #include <vlc/vlc.h>
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
@@ -64,7 +30,7 @@
 
 #   include <linux/cdrom.h>
 #   if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0)
-#       include <linux/ucdrom.h>
+       include <linux/ucdrom.h>
 #   endif
 
 #   include <scsi/scsi.h>
index b411617ca9c2de61c400894594a087e6a9e66f79..ba92b90c266a5d887608c988ed597b7f30396575 100644 (file)
@@ -24,8 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>
-
 #include <vlc/vlc.h>
 #include "vlc_block.h"
 
index 18dca1154a28a7cfba787bfe50d410f92548f74e..69695c8e143d92b8c19aa38acea81408fd687ae8 100644 (file)
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
-#include <string.h>                                              /* strdup(), strstr() */
-#include <stdlib.h>                                                /* free() */
-#include <dirent.h>                                                /* *dir() */
 
 #include <vlc/vlc.h>
 #include "../libvlc.h"
+#include <dirent.h>                                                /* *dir() */
 
 #include <CoreFoundation/CoreFoundation.h>
 
index cb3e92145cda05577f9a635dfa6eba3cd9a96594..3a0a4a0b633944b44802f9ed56d8923fff6e46c6 100644 (file)
@@ -1,26 +1,3 @@
-/*****************************************************************************
- * events.c: events interface
- * This library provides an interface to the send and receive events.
- * It is more lightweight than variable based callback.
- * Methode
- *****************************************************************************
- * Copyright (C) 1998-2005 the VideoLAN team
- * $Id$
- *
- * Authors: Pierre d'Herbemont <pdherbemont # videolan.org >
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
@@ -30,9 +7,6 @@
 
 #include <vlc/vlc.h>
 
-#include <stdio.h>                                               /* required */
-#include <stdlib.h>                                              /* malloc() */
-
 #include <assert.h>
 
 #include <vlc_events.h>
index 73ad695cafe1ff75988528019116a4c2212b93b8..a5495cf9bf52c8e42e112981d411d29619698432 100644 (file)
 
 #include <vlc/vlc.h>
 
-#include <stdio.h>                                               /* required */
 #include <stdarg.h>                                       /* va_list for BSD */
-#include <stdlib.h>                                              /* malloc() */
-#include <string.h>                                            /* strerror() */
 
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>                  /* O_CREAT, O_TRUNC, O_WRONLY, O_SYNC */
index dd525e74bb70d083f9a72574b38125b8c60c38b7..63d79a5b749ba25377363560320b0fba2e74ce2e 100644 (file)
@@ -31,9 +31,7 @@
 
 #include <vlc/vlc.h>
 
-#include <stdio.h>                                              /* sprintf() */
 #include <time.h>                      /* clock_gettime(), clock_nanosleep() */
-#include <stdlib.h>                                               /* lldiv() */
 #include <assert.h>
 #include <errno.h>
 
index 8a3f6ad9bdbc662b0af8a67b053aa46b9e35e1a4..734c314c14020615a85ca097d811a3dcd421724f 100644 (file)
  *****************************************************************************/
 #include <vlc/vlc.h>
 
-#ifdef HAVE_STDLIB_H
-#   include <stdlib.h>                                          /* realloc() */
-#endif
-
 #include "../libvlc.h"
 #include <vlc_vout.h>
 #include <vlc_aout.h>
index 06d4d14e7f4b59d07977c0f71b44142672803cd6..1f4169cfcb961744ad2078c9861bae4b72811a93 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <vlc/vlc.h>
 
-#include <stdlib.h>
 #include "libvlc.h"
 
 #define VLC_THREADS_UNINITIALIZED  0
index 18f607a96ecec603a0094a5c6bfac037e2eb78d3..c334c981042b90689faf7cc3466304239196fefe 100644 (file)
@@ -37,8 +37,6 @@
 
 #include <vlc/vlc.h>
 
-#include <stdio.h>
-#include <stdlib.h>                                      /* malloc(), free() */
 #include <ctype.h>                                              /* tolower() */
 
 
index 5afefb77f44881ae77b0ba0b9b2a31b64f38b812..57a9fab269e01c047e63e3a2658e14d7bd35f9b4 100644 (file)
@@ -27,9 +27,6 @@
 #include <vlc/vlc.h>
 #include "variables.h"
 
-#ifdef HAVE_STDLIB_H
-#   include <stdlib.h>                                          /* realloc() */
-#endif
 #include "libvlc.h"
 
 /*****************************************************************************
index 9a4e868cf75681b6f975717447376763d09f84ba..02d9760680363cac3744b1f3ee836d0c698b417a 100644 (file)
@@ -21,8 +21,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
-#include <string.h>                                              /* strdup() */
-#include <stdlib.h>                                                /* free() */
 
 #include <vlc/vlc.h>
 #include "../libvlc.h"
index 5b9d1c334fafea4699970f693b86e521248ecdc9..5e8e561c705f3e4751387298fa56fa3e0a62fcc5 100644 (file)
@@ -21,7 +21,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include <stdlib.h>
 #include <vlc/vlc.h>
 
 #include "vlc_xml.h"
index 3d8eb51a7f15384302241f7f44983526a203e1ae..6f30903fa4f92dfe4a1173c6e824a26eb236d78c 100644 (file)
@@ -26,9 +26,6 @@
 #include "vlc_keys.h"
 #include "vlc_charset.h"
 
-#include <stdio.h>                                              /* sprintf() */
-#include <stdlib.h>                                      /* free(), strtol() */
-#include <string.h>                                              /* strdup() */
 #include <errno.h>                                                  /* errno */
 
 #ifdef HAVE_LIMITS_H
index 4d8a64baccf9686515ce447bafdbbd0a0ffccebe..f090f4fb635fe07aa6948f7ba846972fdfa915e0 100644 (file)
 
 #include <vlc/vlc.h>
 
-#include <stdlib.h>                                                /* free() */
-#include <stdio.h>                                              /* sprintf() */
-#include <string.h>                                            /* strerror() */
-
 /*****************************************************************************
  * Local prototypes
  *****************************************************************************/
index c5779e4879cc9f12b79b467d42ad0a603f5ea21f..06eba088b48d7c369b6732c6c9689fbae07936f9 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
 #include <vlc/vlc.h>
 
+#include <ctype.h>
 #include <vlc_acl.h>
 
 #include <errno.h>
index f40f9cfcb6a806de9ae7ca77fa8bf0edf91c696d..6dee727b76e38cebc31aedbf9266f183be8b205b 100644 (file)
@@ -25,9 +25,6 @@
 
 #include <vlc/vlc.h>
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #ifdef ENABLE_HTTPD
 
 #include <assert.h>
index 685e4b20af75c26b08fee6c144e509b3744a55d5..f7842d4f5778a3ed85949028cae5f25a0f111bf5 100644 (file)
@@ -26,7 +26,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>
 #include <vlc/vlc.h>
 
 #include <errno.h>
index d434bf2d64b7980033f6b27bc58a06ace273d21d..d9279c9067869616861d8b04cfa067c033474b68 100644 (file)
@@ -26,7 +26,6 @@
  * libvlc interface to the Transport Layer Security (TLS) plugins.
  */
 
-#include <stdlib.h>
 #include <vlc/vlc.h>
 
 #include <vlc_tls.h>
index fe486afb88ae9fa5f931040f3548e1ad519486dd..6874ee21d3b04ac6ae148e427d9338efff4eb961 100644 (file)
@@ -27,7 +27,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>
 #include <vlc/vlc.h>
 
 #include <errno.h>
index 6e7bbdc9378d4adf138ef25c8db660de07068345..44d7cdf0c31ca2b1b739c29267ac092e0f586aa3 100644 (file)
@@ -24,8 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>
-#include <string.h>
 
 #include <vlc/vlc.h>
 #include <vlc_keys.h>
index b4d1cf635666639a1793e18da3348966db7afe01..212d093da7bdc592552d48f09ffb722523b80f37 100644 (file)
@@ -24,8 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>
-#include <string.h>
 
 #include <vlc/vlc.h>
 #include <vlc_vout.h>
index 2992bf1f21f1c6ffef0d22fd114ee40907ab4e27..fd2ffeb6494004ca704c60b76304e1d0d694f9d9 100644 (file)
@@ -24,7 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                                /* free() */
 #include <vlc/vlc.h>
 #include <vlc_osd.h>
 #include <vlc_vout.h>
index 106d7c226b15717475b2921dbd77c475ababe072..3bae8026b211407f400cf560412d92e554c87ec9 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                                /* free() */
-#include <stdio.h>                                              /* sprintf() */
-#include <string.h>                                            /* strerror() */
-#include <assert.h>
-
 #include <vlc/vlc.h>
 #include <vlc_sout.h>
 #include "stream_output.h"
 
+#include <assert.h>
+
+
 struct announce_method_t
 {
 } sap_method;
index b717fad03a78f9a249e9150d2790bb730a5d2ce9..b1bb5f897e2089004c23fbb67952da3a03309eef 100644 (file)
@@ -30,8 +30,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include <stdlib.h>
-#include <stdio.h>
 #include <vlc/vlc.h>
 
 #if !defined WIN32
index a63c2fb972cf7ff8d97657dadd2bc07660253da7..10bf1484e7cc207cdbf182ea12826773fd573a04 100644 (file)
@@ -27,9 +27,6 @@
  * Preamble
  *****************************************************************************/
 #include <vlc/vlc.h>
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
 #include <assert.h>
 
 /* Needed by str_format_time */
index f1ae48de7e7fe1f11bc45416b9215d319fec65c8..dac055c5349fe345e4df338ed64419f92585337d 100644 (file)
@@ -23,9 +23,6 @@
 /*** We need your help to complete this file!! Look for FIXME ***/
 
 #include <vlc/vlc.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
 
 #ifndef WIN32
 # include <locale.h>
index 342f4c5712256e35df6389a36289f3c172c11af2..5d21183a1595f3c42cd9ce491b92501de60229c1 100644 (file)
@@ -24,7 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                                /* free() */
 #include <vlc/vlc.h>
 #include <vlc_vout.h>
 #include <vlc_osd.h>
index c37f3a6b6c3c69a2d94d5e992d7ecd06e7d24661..b4d34d43dfc063d5036f3f3e5826d6c1e96e7077 100644 (file)
@@ -25,9 +25,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                                /* free() */
-#include <stdio.h>                                              /* sprintf() */
-#include <string.h>                                            /* strerror() */
 
 #include <vlc/vlc.h>
 #include <vlc_vout.h>
index 97b0267aa9062d800e38646baeeb292d6f0b84d0..ce7f6cf466555c9d613b7d2fdc4891a43a306a91 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                                /* free() */
-#include <stdio.h>                                              /* sprintf() */
-#include <string.h>                                            /* strerror() */
-
 #include <vlc/vlc.h>
 #include <vlc_vout.h>
 #include <vlc_block.h>
index 047f7495283d6bead06b43ff34a01b17f1b67bf3..2d8c021b05bef961a5777cde656012a276854f51 100644 (file)
@@ -94,9 +94,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                                /* free() */
-#include <string.h>                                    /* memcpy(), memset() */
-
 #include <vlc/vlc.h>
 #include <vlc_vout.h>
 #include <vlc_input.h>
index 94709d22c7551dc61aa8d0d3672a91b2b6a3d923..204cda947fecb84659f2513efba2b310229d0bbc 100644 (file)
--- a/src/vlc.c
+++ b/src/vlc.c
@@ -28,8 +28,6 @@
 #include "config.h"
 
 #include <vlc/vlc.h>
-#include <stdio.h>                                              /* fprintf() */
-#include <stdlib.h>                                  /* putenv(), strtol(),  */
 #include <locale.h>
 
 /* Explicit HACK */