diff --git a/include/fs/devfs/devfs.h b/include/fs/devfs/devfs.h index 03e0955..3e2ba65 100644 --- a/include/fs/devfs/devfs.h +++ b/include/fs/devfs/devfs.h @@ -30,7 +30,7 @@ #define _DEVFS_DEVFS_H #include -#include +#include struct devfs_devices { struct devfs_devices *next; diff --git a/include/net/arch.h b/include/net/arch.h index 5cc97ae..da0a1d8 100644 --- a/include/net/arch.h +++ b/include/net/arch.h @@ -48,7 +48,7 @@ #include #include #include -#include +#include /** * @defgroup compiler_abstraction Compiler/platform abstraction diff --git a/include/net/arch/cc.h b/include/net/arch/cc.h index 2e99fc7..e910ab9 100644 --- a/include/net/arch/cc.h +++ b/include/net/arch/cc.h @@ -1,7 +1,7 @@ #ifndef __ARCH_CC_H__ #define __ARCH_CC_H__ -#include +#include #define PACK_STRUCT_FIELD(x) x __attribute__((packed)) #define PACK_STRUCT_STRUCT __attribute__((packed)) diff --git a/include/sys/sysproto_posix.h b/include/sys/sysproto_posix.h index 2ac3c0b..76ac7d0 100644 --- a/include/sys/sysproto_posix.h +++ b/include/sys/sysproto_posix.h @@ -34,7 +34,7 @@ /* TEMP */ -#include +#include typedef int register_t; diff --git a/include/sys/trap.h b/include/sys/trap.h index cf7ebc5..0b86020 100644 --- a/include/sys/trap.h +++ b/include/sys/trap.h @@ -29,7 +29,7 @@ #ifndef _SYS_TRAP_H #define _SYS_TRAP_H -#include +#include struct trapframe { int tf_gs; diff --git a/include/sys/types.h b/include/sys/types.h index 4020cce..70d5723 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -75,12 +75,7 @@ typedef int pidType; typedef int pid_t; - -#ifndef _SIZE_T_DECLARED -typedef __size_t size_t; -#define _SIZE_T_DECLARED -#endif - +typedef int size_t; /* standart */ #ifndef NOBOOL #ifndef __cplusplus diff --git a/include/sys/vfs/file.h b/include/sys/vfs/file.h index 19f6df7..eee6c04 100644 --- a/include/sys/vfs/file.h +++ b/include/sys/vfs/file.h @@ -31,11 +31,11 @@ #include -#include +#include #include -#include -#include -#include +#include +#include +#include /* HACK */ int getchar(); diff --git a/include/sys/vfs/inode.h b/include/sys/vfs/inode.h index baebb1a..7e6b1d1 100644 --- a/include/sys/vfs/inode.h +++ b/include/sys/vfs/inode.h @@ -30,11 +30,11 @@ #define _VFS_INODE_H #include -#include +#include #include #include -#include +#include struct inode { __dev_t i_dev; diff --git a/include/sys/vfs/vfs.h b/include/sys/vfs/vfs.h index 71c966d..3a48d5e 100644 --- a/include/sys/vfs/vfs.h +++ b/include/sys/vfs/vfs.h @@ -29,12 +29,12 @@ #define _VFS_VFS_H #include -#include -#include +#include +#include #include #include #include -#include +#include #define MAY_EXEC 1 #define MAY_WRITE 2 diff --git a/lib/objgfx40/objgfx40.cpp b/lib/objgfx40/objgfx40.cpp index 0b6aca8..5d867d0 100644 --- a/lib/objgfx40/objgfx40.cpp +++ b/lib/objgfx40/objgfx40.cpp @@ -15,7 +15,7 @@ extern "C" { #include #include -#include +#include #include } diff --git a/lib/objgfx40/ogFont.cpp b/lib/objgfx40/ogFont.cpp index 0b21703..38f74dc 100644 --- a/lib/objgfx40/ogFont.cpp +++ b/lib/objgfx40/ogFont.cpp @@ -3,7 +3,7 @@ extern "C" { #ifdef __UBIXOS_KERNEL__ -#include +#include #include #include #else diff --git a/sys/Makefile.incl b/sys/Makefile.incl index bf5137b..71ba64b 100644 --- a/sys/Makefile.incl +++ b/sys/Makefile.incl @@ -3,7 +3,7 @@ KERNEL_CONF=${KERNEL_SRC}/${_ARCH}/conf KERNEL_NAME=kernel KERNEL_FLAGS=_ARCH=${_ARCH} CC="cc" CXX="c++" AS="as" AR="ar" LD="ld" NM=nm OBJDUMP= OBJCOPY="objcopy" RANLIB=ranlib -KERNEL_INC=${KERNEL_SRC}/../include +KERNEL_INC=${KERNEL_SRC}/include KMAKE= ${MAKE} ${KERNEL_FLAGS} INCLUDE=${KERNEL_INC} KERNEL=${KERNEL_NAME} diff --git a/sys/fs/devfs/devfs.c b/sys/fs/devfs/devfs.c index e96ba52..ffb764e 100644 --- a/sys/fs/devfs/devfs.c +++ b/sys/fs/devfs/devfs.c @@ -26,11 +26,11 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include -#include +#include +#include #include -#include -#include +#include +#include #include #include #include