Cleaned up #include usage a little.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 24 Oct 2009 03:22:34 -0400
changeset 104 3be906860130
parent 103 7528b40af909
child 105 76ada92e018a
Cleaned up #include usage a little.
utils/fatelf-utils.c
utils/fatelf-utils.h
--- a/utils/fatelf-utils.c	Sat Oct 24 03:22:14 2009 -0400
+++ b/utils/fatelf-utils.c	Sat Oct 24 03:22:34 2009 -0400
@@ -11,6 +11,10 @@
 #define FATELF_UTILS 1
 #include "fatelf-utils.h"
 
+#include <errno.h>
+#include <unistd.h>
+#include <stdarg.h>
+
 const char *unlink_on_xfail = NULL;
 static uint8_t zerobuf[4096];
 
--- a/utils/fatelf-utils.h	Sat Oct 24 03:22:14 2009 -0400
+++ b/utils/fatelf-utils.h	Sat Oct 24 03:22:34 2009 -0400
@@ -11,12 +11,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <errno.h>
-#include <unistd.h>
-#include <stdarg.h>
+#include <assert.h>
 #include <fcntl.h>
-#include <stdint.h>
-#include <assert.h>
 #include <sys/types.h>
 #include <sys/stat.h>