Displaying 1 result from an estimated 1 matches for "4f0b12a".
Did you mean:
400b1ea
2012 May 24
1
[klibc:master] sys/sysmacros.h: match glibc and define non-__ macros
...double-underscore versions of the dev_t
accessors as macros.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
usr/include/sys/sysmacros.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/usr/include/sys/sysmacros.h b/usr/include/sys/sysmacros.h
index c344339..4f0b12a 100644
--- a/usr/include/sys/sysmacros.h
+++ b/usr/include/sys/sysmacros.h
@@ -31,4 +31,8 @@ static __inline__ dev_t makedev(int __ma, int __mi)
return __makedev(__ma, __mi);
}
+#define major(d) __major(d)
+#define minor(d) __minor(d)
+#define makedev(ma,mi) __makedev(ma,mi)
+
#endif /* _S...