From 7bbfa39f59dcbc55b21d31abb9e2febef6a51ebb Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Wed, 30 Mar 2016 02:26:28 +0200 Subject: Use uint32_t instead of unsigned32_t. Implement stdint.h and use it in gnumach. Remove old type definitions such as signed* and unsigned*. * Makefile.am: Add -ffreestanding. * i386/i386/xen.h: Use uint64_t. * i386/include/mach/i386/machine_types.defs: Use uint32_t and int32_t. * i386/include/mach/i386/vm_types.h: Remove definitions of int*, uint*, unsigned* and signed* types. * i386/xen/xen.c: Use uint64_t. * include/device/device_types.defs: Use uint32_t. * include/mach/std_types.defs: Use POSIX types. * include/mach/std_types.h: Include stdint.h. * include/stdint.h: New file with POSIX types. * include/sys/types.h: Include stdint.h. * ipc/ipc_kmsg.c: Use uint64_t. * kern/exception.c: Use uint32_t. * linux/dev/include/linux/types.h: Remove POSIX types. * xen/block.c: Use uint64_t. * xen/net.c: Do not use removed unsigned*_t types. * xen/ring.h: Use uint32_t instead. * xen/store.c: Use uint32_t. * xen/store.h: Use uint32_t. * xen/time.c: Use POSIX types only. * xen/time.h: Use uint64_t. --- linux/dev/include/linux/types.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'linux') diff --git a/linux/dev/include/linux/types.h b/linux/dev/include/linux/types.h index b697d9ec..eb086c20 100644 --- a/linux/dev/include/linux/types.h +++ b/linux/dev/include/linux/types.h @@ -109,16 +109,6 @@ struct ustat { char f_fpack[6]; }; -/* stdint.h */ -typedef s8 int8_t; -typedef u8 uint8_t; -typedef s16 int16_t; -typedef u16 uint16_t; -typedef s32 int32_t; -typedef u32 uint32_t; -typedef s64 int64_t; -typedef u64 uint64_t; - /* Yes, this is ugly. But that's why it is called glue code. */ #define _MACH_SA_SYS_TYPES_H_ -- cgit v1.2.3