Standalone: Do not include stdio.h in fuzix_fs.h
authorTormod Volden <debian.tormod@gmail.com>
Mon, 30 Mar 2015 21:25:05 +0000 (23:25 +0200)
committerAlan Cox <alan@linux.intel.com>
Mon, 30 Mar 2015 22:56:43 +0000 (23:56 +0100)
xfs1a and xfs1b need a NULL definition, but they can pick
that from stddef.h.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Standalone/fuzix_fs.h
Standalone/xfs1a.c
Standalone/xfs1b.c

index fabe099..9c44c81 100644 (file)
@@ -1,7 +1,5 @@
 #define __UZIFS_DOT_H__
 
-#include <stdio.h>
-
 #define ROOTDEV 0
 #define ROOTINODE 1
 #define SMOUNTED 12742   /* Magic number to specify mounted filesystem */
index f8e8013..9073f33 100644 (file)
@@ -6,6 +6,7 @@
  */
 
  /*LINTLIBRARY*/
+#include <stddef.h>
 #include <stdint.h>
 #include <strings.h>
 #include "fuzix_fs.h"
index 09d7940..1beebe2 100644 (file)
@@ -3,6 +3,7 @@
  ***************************************************/
 
  /*LINTLIBRARY*/
+#include <stddef.h>
 #include <stdint.h>
 #include <strings.h>
 #include "fuzix_fs.h"