changeset 288:ce4230602517 src

moved away from dvdnav_internal.h inclusion of various system headers
author nicodvb
date Sat, 21 Apr 2007 11:56:41 +0000
parents f22a52d426a3
children 6c0def2b7e39
files dvdnav.c dvdnav_internal.h highlight.c navigation.c read_cache.c searching.c settings.c
diffstat 7 files changed, 13 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/dvdnav.c	Sat Apr 21 11:41:56 2007 +0000
+++ b/dvdnav.c	Sat Apr 21 11:56:41 2007 +0000
@@ -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) {
--- a/dvdnav_internal.h	Sat Apr 21 11:41:56 2007 +0000
+++ b/dvdnav_internal.h	Sat Apr 21 11:56:41 2007 +0000
@@ -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 */
--- a/highlight.c	Sat Apr 21 11:41:56 2007 +0000
+++ b/highlight.c	Sat Apr 21 11:56:41 2007 +0000
@@ -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"
--- a/navigation.c	Sat Apr 21 11:41:56 2007 +0000
+++ b/navigation.c	Sat Apr 21 11:56:41 2007 +0000
@@ -26,6 +26,7 @@
 #endif
 
 #include <inttypes.h>
+#include <string.h>
 #include "dvd_types.h"
 #include "nav_types.h"
 #include "ifo_types.h"
--- a/read_cache.c	Sat Apr 21 11:41:56 2007 +0000
+++ b/read_cache.c	Sat Apr 21 11:56:41 2007 +0000
@@ -32,6 +32,7 @@
 #endif
 
 #include <inttypes.h>
+#include <stdlib.h>
 #include "dvd_types.h"
 #include "nav_types.h"
 #include "ifo_types.h"
--- a/searching.c	Sat Apr 21 11:41:56 2007 +0000
+++ b/searching.c	Sat Apr 21 11:56:41 2007 +0000
@@ -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"
--- a/settings.c	Sat Apr 21 11:41:56 2007 +0000
+++ b/settings.c	Sat Apr 21 11:56:41 2007 +0000
@@ -26,6 +26,7 @@
 #endif
 
 #include <inttypes.h>
+#include <string.h>
 #include "dvd_types.h"
 #include "nav_types.h"
 #include "ifo_types.h"