[DVDnav-discuss] r891 - in trunk/libdvdnav/src: dvdnav.c dvdnav_internal.h highlight.c navigation.c read_cache.c searching.c settings.c

nicodvb subversion at mplayerhq.hu
Sat Apr 21 13:56:42 CEST 2007


Author: nicodvb
Date: Sat Apr 21 13:56:41 2007
New Revision: 891

Modified:
   trunk/libdvdnav/src/dvdnav.c
   trunk/libdvdnav/src/dvdnav_internal.h
   trunk/libdvdnav/src/highlight.c
   trunk/libdvdnav/src/navigation.c
   trunk/libdvdnav/src/read_cache.c
   trunk/libdvdnav/src/searching.c
   trunk/libdvdnav/src/settings.c

Log:
moved away from dvdnav_internal.h inclusion of various system headers

Modified: trunk/libdvdnav/src/dvdnav.c
==============================================================================
--- trunk/libdvdnav/src/dvdnav.c	(original)
+++ trunk/libdvdnav/src/dvdnav.c	Sat Apr 21 13:56:41 2007
@@ -30,6 +30,11 @@
 */
 
 #include <inttypes.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <limits.h>
+#include <string.h>
 #include "dvd_types.h"
 #include "dvd_reader.h"
 #include "nav_types.h"
@@ -42,11 +47,6 @@
 #include "dvdnav_internal.h"
 #include "read_cache.h"
 #include "nav_read.h"
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <sys/time.h>
-
 #include "remap.h"
 
 static dvdnav_status_t dvdnav_clear(dvdnav_t * this) {

Modified: trunk/libdvdnav/src/dvdnav_internal.h
==============================================================================
--- trunk/libdvdnav/src/dvdnav_internal.h	(original)
+++ trunk/libdvdnav/src/dvdnav_internal.h	Sat Apr 21 13:56:41 2007
@@ -28,12 +28,6 @@
 #include "config.h"
 #endif
 
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <limits.h>
-#include <string.h>
-
 #ifdef WIN32
 
 /* pthread_mutex_* wrapper for win32 */

Modified: trunk/libdvdnav/src/highlight.c
==============================================================================
--- trunk/libdvdnav/src/highlight.c	(original)
+++ trunk/libdvdnav/src/highlight.c	Sat Apr 21 13:56:41 2007
@@ -27,6 +27,9 @@
 
 #include <assert.h>
 #include <inttypes.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
 #include "nav_types.h"
 #include "dvd_types.h"
 #include "remap.h"

Modified: trunk/libdvdnav/src/navigation.c
==============================================================================
--- trunk/libdvdnav/src/navigation.c	(original)
+++ trunk/libdvdnav/src/navigation.c	Sat Apr 21 13:56:41 2007
@@ -26,6 +26,7 @@
 #endif
 
 #include <inttypes.h>
+#include <string.h>
 #include "dvd_types.h"
 #include "nav_types.h"
 #include "ifo_types.h"

Modified: trunk/libdvdnav/src/read_cache.c
==============================================================================
--- trunk/libdvdnav/src/read_cache.c	(original)
+++ trunk/libdvdnav/src/read_cache.c	Sat Apr 21 13:56:41 2007
@@ -32,6 +32,7 @@
 #endif
 
 #include <inttypes.h>
+#include <stdlib.h>
 #include "dvd_types.h"
 #include "nav_types.h"
 #include "ifo_types.h"

Modified: trunk/libdvdnav/src/searching.c
==============================================================================
--- trunk/libdvdnav/src/searching.c	(original)
+++ trunk/libdvdnav/src/searching.c	Sat Apr 21 13:56:41 2007
@@ -27,6 +27,8 @@
 
 #include <assert.h>
 #include <inttypes.h>
+#include <stdio.h>
+#include <string.h>
 #include "dvd_types.h"
 #include "nav_types.h"
 #include "ifo_types.h"

Modified: trunk/libdvdnav/src/settings.c
==============================================================================
--- trunk/libdvdnav/src/settings.c	(original)
+++ trunk/libdvdnav/src/settings.c	Sat Apr 21 13:56:41 2007
@@ -26,6 +26,7 @@
 #endif
 
 #include <inttypes.h>
+#include <string.h>
 #include "dvd_types.h"
 #include "nav_types.h"
 #include "ifo_types.h"



More information about the DVDnav-discuss mailing list