Moved <types.h> to <sys/types.h>.

Removed dependencies on arch/x86/types.h - this file is not really used
anymore, now. Might prevent compiling on Windows, though.
Replaced "int" with "int32" for the id types.
Removed some stuff from ktypes.h because it didn't belong there.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1120 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2002-09-23 02:36:51 +00:00
parent 8edc4bb4c8
commit 4e3c12c0af
9 changed files with 37 additions and 78 deletions
+2 -2
View File
@@ -44,8 +44,8 @@ extern "C" {
#define ROUNDUP(a, b) (((a) + ((b)-1)) & ~((b)-1))
#define ROUNDOWN(a, b) (((a) / (b)) * (b))
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
//#define min(a, b) ((a) < (b) ? (a) : (b))
//#define max(a, b) ((a) > (b) ? (a) : (b))
/** return the offset of member 'm' within type 't' */
#define offsetof(t, m) ((size_t)&(((t *)0)->m))