git » fp-git.git » commit ed82c07

deleted some useless header dependencies

author ecalot
2005-06-14 12:26:13 UTC
committer ecalot
2005-06-14 12:26:13 UTC
parent 4851b8424bf69f1590a66fa8dd4bd3263ac8e5e1

deleted some useless header dependencies

PR/src/lib/layers/autodetect.c +2 -5
PR/src/lib/layers/idlist.c +1 -5
PR/src/lib/xml/tree.c +1 -4
PR/src/lib/xml/unknown.c +1 -4

diff --git a/PR/src/lib/layers/autodetect.c b/PR/src/lib/layers/autodetect.c
index 6ed3413..a59ab26 100644
--- a/PR/src/lib/layers/autodetect.c
+++ b/PR/src/lib/layers/autodetect.c
@@ -19,7 +19,7 @@
 */
 
 /*
-autodetect.c: Princed Resources : Resource Handler
+autodetect.c: Princed Resources : Autodetect resource types
 \xaf\xaf\xaf\xaf\xaf\xaf\xaf\xaf\xaf\xaf\xaf
  Copyright 2003 Princed Development Team
   Created: 24 Aug 2003
@@ -36,10 +36,7 @@ autodetect.c: Princed Resources : Resource Handler
 \***************************************************************/
 
 /* Includes */
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include "reslist.h"
+#include "reslist.h" /* tResourceType */
 
 /***************************************************************\
 |                       Item Type Detector                      |
diff --git a/PR/src/lib/layers/idlist.c b/PR/src/lib/layers/idlist.c
index e9ab0bd..e4f0ae3 100644
--- a/PR/src/lib/layers/idlist.c
+++ b/PR/src/lib/layers/idlist.c
@@ -37,14 +37,9 @@ idlist.c: Princed Resources : Partial Id list
 
 /* Includes */
 #include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include "common.h"
-#include "xmlsearch.h"
 #include "disk.h"
 #include "memory.h"
 #include "resources.h"
-#include "compress.h"
 
 /***************************************************************\
 |                Partial Resource List Functions                |
@@ -135,6 +130,7 @@ void parseGivenPath(char* path) {
 	}
 }
 
+/* TODO rewrite into memory.c */
 /* Code taken from PR 0.1 */
 int getMaskToken(const char texto[],char token[],int* i,int k) {
 	int j=0;
diff --git a/PR/src/lib/xml/tree.c b/PR/src/lib/xml/tree.c
index e8f267e..72e15fa 100644
--- a/PR/src/lib/xml/tree.c
+++ b/PR/src/lib/xml/tree.c
@@ -37,13 +37,10 @@ resources.c: Princed Resources : Resource Handler
 
 /* Includes */
 #include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
 #include "common.h"
-#include "xmlsearch.h"
 #include "disk.h"
-#include "memory.h"
 #include "resources.h"
+#include "xmlsearch.h"
 
 /***************************************************************\
 |            Filtering xml structure to tResourceList           |
diff --git a/PR/src/lib/xml/unknown.c b/PR/src/lib/xml/unknown.c
index e8f267e..72e15fa 100644
--- a/PR/src/lib/xml/unknown.c
+++ b/PR/src/lib/xml/unknown.c
@@ -37,13 +37,10 @@ resources.c: Princed Resources : Resource Handler
 
 /* Includes */
 #include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
 #include "common.h"
-#include "xmlsearch.h"
 #include "disk.h"
-#include "memory.h"
 #include "resources.h"
+#include "xmlsearch.h"
 
 /***************************************************************\
 |            Filtering xml structure to tResourceList           |