[vlc-devel] commit: Remove useless headers inclusion ( Rafaël Carré )

git version control git at videolan.org
Sat Mar 8 22:06:07 CET 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Mar  8 22:05:42 2008 +0100| [5b9686862a31a9384b06879afdd2ac00fc4b4890]

Remove useless headers inclusion

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b9686862a31a9384b06879afdd2ac00fc4b4890
---

 src/config/intf.c |   39 ---------------------------------------
 1 files changed, 0 insertions(+), 39 deletions(-)

diff --git a/src/config/intf.c b/src/config/intf.c
index a8ae1b6..7afb504 100644
--- a/src/config/intf.c
+++ b/src/config/intf.c
@@ -26,45 +26,6 @@
 #endif
 
 #include <vlc/vlc.h>
-#include "../libvlc.h"
-#include "vlc_keys.h"
-#include "vlc_charset.h"
-
-#include <errno.h>                                                  /* errno */
-#include <assert.h>
-#include <limits.h>
-
-#ifdef HAVE_UNISTD_H
-#    include <unistd.h>                                          /* getuid() */
-#endif
-
-#ifdef HAVE_GETOPT_LONG
-#   ifdef HAVE_GETOPT_H
-#       include <getopt.h>                                       /* getopt() */
-#   endif
-#else
-#   include "../extras/getopt.h"
-#endif
-
-#if defined(HAVE_GETPWUID)
-#   include <pwd.h>                                            /* getpwuid() */
-#endif
-
-#if defined( HAVE_SYS_STAT_H )
-#   include <sys/stat.h>
-#endif
-#if defined( HAVE_SYS_TYPES_H )
-#   include <sys/types.h>
-#endif
-#if defined( WIN32 )
-#   if !defined( UNDER_CE )
-#       include <direct.h>
-#   endif
-#include <tchar.h>
-#endif
-
-#include "configuration.h"
-#include "modules/modules.h"
 
 /* Adds an extra interface to the configuration */
 void __config_AddIntf( vlc_object_t *p_this, const char *psz_intf )




More information about the vlc-devel mailing list