aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/utilities/ich9deblob/common/descriptor_gbe.c2
-rw-r--r--resources/utilities/ich9deblob/common/x86compatibility.c4
-rw-r--r--resources/utilities/ich9deblob/common/x86compatibility.h3
-rw-r--r--resources/utilities/ich9deblob/descriptor/descriptor.c3
-rw-r--r--resources/utilities/ich9deblob/descriptor/descriptor.h3
-rw-r--r--resources/utilities/ich9deblob/gbe/gbe.c3
-rw-r--r--resources/utilities/ich9deblob/gbe/gbe.h3
-rw-r--r--resources/utilities/ich9deblob/ich9deblob.c3
8 files changed, 12 insertions, 12 deletions
diff --git a/resources/utilities/ich9deblob/common/descriptor_gbe.c b/resources/utilities/ich9deblob/common/descriptor_gbe.c
index 8aba9dbe..fcb80d01 100644
--- a/resources/utilities/ich9deblob/common/descriptor_gbe.c
+++ b/resources/utilities/ich9deblob/common/descriptor_gbe.c
@@ -21,8 +21,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <string.h>
#include "descriptor_gbe.h"
/*
diff --git a/resources/utilities/ich9deblob/common/x86compatibility.c b/resources/utilities/ich9deblob/common/x86compatibility.c
index 46c60a7d..505a37d9 100644
--- a/resources/utilities/ich9deblob/common/x86compatibility.c
+++ b/resources/utilities/ich9deblob/common/x86compatibility.c
@@ -20,9 +20,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-#include <stdio.h>
-#include <string.h>
+
#include "x86compatibility.h"
/*
diff --git a/resources/utilities/ich9deblob/common/x86compatibility.h b/resources/utilities/ich9deblob/common/x86compatibility.h
index 05f77f8c..d9d5bdb3 100644
--- a/resources/utilities/ich9deblob/common/x86compatibility.h
+++ b/resources/utilities/ich9deblob/common/x86compatibility.h
@@ -24,6 +24,9 @@
#ifndef X86COMPATIBILITY_H
#define X86COMPATIBILITY_H
+#include <stdio.h>
+#include <string.h>
+
#include "../descriptor/descriptor.h" /* structs describing what's in the descriptor region */
#include "../gbe/gbe.h" /* structs describing what's in the gbe region */
diff --git a/resources/utilities/ich9deblob/descriptor/descriptor.c b/resources/utilities/ich9deblob/descriptor/descriptor.c
index 256c60af..aa3d84e5 100644
--- a/resources/utilities/ich9deblob/descriptor/descriptor.c
+++ b/resources/utilities/ich9deblob/descriptor/descriptor.c
@@ -23,9 +23,6 @@
* Provide descriptor related functions.
*/
-#include <stdio.h>
-#include <string.h>
-
/* structs describing the data in descriptor region */
#include "descriptor.h"
diff --git a/resources/utilities/ich9deblob/descriptor/descriptor.h b/resources/utilities/ich9deblob/descriptor/descriptor.h
index 3841fdc8..863b8945 100644
--- a/resources/utilities/ich9deblob/descriptor/descriptor.h
+++ b/resources/utilities/ich9deblob/descriptor/descriptor.h
@@ -31,6 +31,9 @@
#ifndef DESCRIPTORSTRUCT_H
#define DESCRIPTORSTRUCT_H
+#include <stdio.h>
+#include <string.h>
+
/* size of the descriptor in bytes */
#define DESCRIPTORREGIONSIZE 0x1000
diff --git a/resources/utilities/ich9deblob/gbe/gbe.c b/resources/utilities/ich9deblob/gbe/gbe.c
index 7611c8dd..9eee8284 100644
--- a/resources/utilities/ich9deblob/gbe/gbe.c
+++ b/resources/utilities/ich9deblob/gbe/gbe.c
@@ -23,9 +23,6 @@
* Provide gbe related functions.
*/
-#include <stdio.h>
-#include <string.h>
-
/* structs describing the data from gbe region */
#include "gbe.h"
diff --git a/resources/utilities/ich9deblob/gbe/gbe.h b/resources/utilities/ich9deblob/gbe/gbe.h
index 27ad4d75..bfcc0024 100644
--- a/resources/utilities/ich9deblob/gbe/gbe.h
+++ b/resources/utilities/ich9deblob/gbe/gbe.h
@@ -33,6 +33,9 @@
#ifndef GBESTRUCT_H
#define GBESTRUCT_H
+#include <stdio.h>
+#include <string.h>
+
/* Size of the full gbe region in bytes */
#define GBEREGIONSIZE_8K 0x2000
/*
diff --git a/resources/utilities/ich9deblob/ich9deblob.c b/resources/utilities/ich9deblob/ich9deblob.c
index 5c607d8c..c8b74c42 100644
--- a/resources/utilities/ich9deblob/ich9deblob.c
+++ b/resources/utilities/ich9deblob/ich9deblob.c
@@ -46,10 +46,11 @@
#include <stdio.h>
#include <string.h>
+
#include "common/descriptor_gbe.h" /* common descriptor/gbe functions used by ich9deblob */
+#include "common/x86compatibility.h" /* system/compiler compatibility checks. This code is not portable. */
#include "descriptor/descriptor.h" /* structs describing what's in the descriptor region */
#include "gbe/gbe.h" /* structs describing what's in the gbe region */
-#include "common/x86compatibility.h" /* system/compiler compatibility checks. This code is not portable. */
int main(int argc, char *argv[])
{