[vlc-commits] Remove useless <unistd.h> inclusion in core

Rémi Denis-Courmont git at videolan.org
Tue Nov 22 17:17:53 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 22 17:42:47 2011 +0200| [d692bb16f728377747b58016f5ac5c1f85952d30] | committer: Rémi Denis-Courmont

Remove useless <unistd.h> inclusion in core

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

 src/config/help.c |    5 -----
 src/libvlc.c      |    6 ------
 2 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/src/config/help.c b/src/config/help.c
index cf309ef..e11ff8c 100644
--- a/src/config/help.c
+++ b/src/config/help.c
@@ -32,11 +32,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#elif defined( WIN32 ) && !defined( UNDER_CE )
-# include <io.h>
-#endif
 #if defined( WIN32 ) && !defined( UNDER_CE )
 static void ShowConsole (void);
 static void PauseConsole (void);
diff --git a/src/libvlc.c b/src/libvlc.c
index 021f9f0..c26d7b9 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -47,12 +47,6 @@
 #include <string.h>
 #include <stdlib.h>                                                /* free() */
 
-#ifdef HAVE_UNISTD_H
-#   include <unistd.h>
-#elif defined( WIN32 ) && !defined( UNDER_CE )
-#   include <io.h>
-#endif
-
 #include "config/vlc_getopt.h"
 
 #ifdef HAVE_LOCALE_H



More information about the vlc-commits mailing list