From 2726040fcbc77676da719d83e5d873e62c796b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 2 Nov 2005 15:27:00 +0000 Subject: [PATCH] we can live without you, sysmacros.h git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14650 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/sys/sysmacros.h | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 headers/posix/sys/sysmacros.h diff --git a/headers/posix/sys/sysmacros.h b/headers/posix/sys/sysmacros.h deleted file mode 100644 index e326391943..0000000000 --- a/headers/posix/sys/sysmacros.h +++ /dev/null @@ -1,14 +0,0 @@ -/* -** Distributed under the terms of the Haiku License. -*/ -#ifndef _SYSMACROS_H_ -#define _SYSMACROS_H_ - -/* from FreeBSD */ - -#define major(x) ((int)(((u_int)(x) >> 8)&0xff)) /* major number */ -#define minor(x) ((int)((x)&0xffff00ff)) /* minor number */ - -#define makedev(x,y) ((dev_t)(((x) << 8) | (y))) /* create dev_t */ - -#endif // _SYSMACROS_H_