Removing useless minix/types.h header
Change-Id: If5f922279b87f075f301b64c7786caa18b434c2a
This commit is contained in:
@@ -4,7 +4,7 @@ NOOBJ= # defined
|
||||
|
||||
INCSDIR= /usr/include/minix
|
||||
|
||||
INCS+= dirent.h paths.h types.h param.h
|
||||
INCS+= dirent.h paths.h param.h
|
||||
INCS+= acpi.h audio_fw.h bitmap.h \
|
||||
bdev.h blockdriver.h blockdriver_mt.h \
|
||||
btrace.h \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <minix/types.h>
|
||||
#include <sys/types.h>
|
||||
#include <minix/ipc.h>
|
||||
|
||||
#define ACPI_REQ_GET_IRQ 1
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define _DEVIO_H
|
||||
|
||||
#include <minix/sys_config.h> /* needed to include <minix/type.h> */
|
||||
#include <minix/types.h> /* u8_t, u16_t, u32_t needed */
|
||||
#include <sys/types.h> /* u8_t, u16_t, u32_t needed */
|
||||
|
||||
typedef u16_t port_t;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef _MINIX_DS_H
|
||||
#define _MINIX_DS_H
|
||||
|
||||
#include <minix/types.h>
|
||||
#include <sys/types.h>
|
||||
#include <minix/endpoint.h>
|
||||
|
||||
/* Flags. */
|
||||
|
||||
@@ -8,10 +8,7 @@
|
||||
#define _M_IOCTL_H
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#ifndef _TYPES_H
|
||||
#include <minix/types.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Ioctls have the command encoded in the low-order word, and the size
|
||||
* of the parameter in the high-order word. The 3 high bits of the high-
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
#ifndef _MINIX__PARTITION_H
|
||||
#define _MINIX__PARTITION_H
|
||||
|
||||
#ifndef _TYPES_H
|
||||
#include <minix/types.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <minix/u64.h>
|
||||
|
||||
|
||||
@@ -7,9 +7,7 @@ Created: Jan 15, 1992 by Philip Homburg
|
||||
#ifndef _PORTIO_H_
|
||||
#define _PORTIO_H_
|
||||
|
||||
#ifndef _TYPES_H
|
||||
#include <minix/types.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
||||
unsigned inb(u16_t _port);
|
||||
unsigned inw(u16_t _port);
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define _PROFILE_H
|
||||
|
||||
#include <minix/type.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
/*
|
||||
* Types relating to system profiling. Types are supplied for both
|
||||
@@ -34,8 +35,6 @@ struct sprof_proc {
|
||||
char name[PROC_NAME_LEN];
|
||||
};
|
||||
|
||||
#include <minix/types.h>
|
||||
|
||||
# define PROF_GET 2 /* get call profiling tables */
|
||||
# define PROF_RESET 3 /* reset call profiling tables */
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#define _MINIX_SAFECOPIES_H 1
|
||||
|
||||
#include <minix/sys_config.h>
|
||||
#include <minix/types.h>
|
||||
#include <sys/types.h>
|
||||
#include <minix/vm.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
@@ -3,19 +3,12 @@
|
||||
#ifndef _SYSLIB_H
|
||||
#define _SYSLIB_H
|
||||
|
||||
#ifndef _TYPES_H
|
||||
#include <minix/types.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <sys/sigtypes.h>
|
||||
|
||||
#ifndef _IPC_H
|
||||
#include <minix/ipc.h>
|
||||
#endif
|
||||
|
||||
#include <minix/u64.h>
|
||||
|
||||
#ifndef _DEVIO_H
|
||||
#include <minix/devio.h>
|
||||
#endif
|
||||
|
||||
#include <minix/safecopies.h>
|
||||
#include <minix/sef.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#ifndef _MINIX_TTY_H
|
||||
#define _MINIX_TTY_H
|
||||
|
||||
#include <minix/types.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#define TTYMAGIC 0xb105
|
||||
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
#include <minix/sys_config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _TYPES_H
|
||||
#include <minix/types.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#ifndef _MINIX_TYPES_H_
|
||||
#define _MINIX_TYPES_H_
|
||||
|
||||
/* Dummy file used in legacy (and shared) minix includes. */
|
||||
#include <sys/types.h>
|
||||
#include <sys/sigtypes.h>
|
||||
|
||||
#endif
|
||||
@@ -5,9 +5,7 @@
|
||||
#ifndef _MINIX__U64_H
|
||||
#define _MINIX__U64_H
|
||||
|
||||
#ifndef _TYPES_H
|
||||
#include <minix/types.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#ifndef _MINIX_USB_H
|
||||
#define _MINIX_USB_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <minix/com.h>
|
||||
#include <minix/ipc.h>
|
||||
#include <minix/types.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define USB_URBSIZE(data_size, iso_count) \
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
* values.
|
||||
*/
|
||||
|
||||
#include <minix/types.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
typedef u8_t uByte;
|
||||
typedef u8_t uWord[2];
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef _MINIX_VM_H
|
||||
#define _MINIX_VM_H
|
||||
|
||||
#include <minix/types.h>
|
||||
#include <sys/types.h>
|
||||
#include <minix/endpoint.h>
|
||||
|
||||
int vm_exit(endpoint_t ep);
|
||||
|
||||
Reference in New Issue
Block a user