[Glibc-bsd-commits] r4075 - in trunk/freebsd-buildutils/debian: . local/include/sys
Robert Millan
rmh at alioth.debian.org
Sat Feb 4 13:16:32 UTC 2012
Author: rmh
Date: 2012-02-04 13:16:32 +0000 (Sat, 04 Feb 2012)
New Revision: 4075
Modified:
trunk/freebsd-buildutils/debian/changelog
trunk/freebsd-buildutils/debian/local/include/sys/cdefs.h
Log:
Steal a few more definitions for sys/cdefs.h.
Modified: trunk/freebsd-buildutils/debian/changelog
===================================================================
--- trunk/freebsd-buildutils/debian/changelog 2012-02-04 13:11:49 UTC (rev 4074)
+++ trunk/freebsd-buildutils/debian/changelog 2012-02-04 13:16:32 UTC (rev 4075)
@@ -1,8 +1,9 @@
freebsd-buildutils (9.0-5) UNRELEASED; urgency=low
* Add implicit includes to sys/stdint.h.
+ * Steal a few more definitions for sys/cdefs.h.
- -- Robert Millan <rmh at debian.org> Sat, 04 Feb 2012 14:10:02 +0100
+ -- Robert Millan <rmh at debian.org> Sat, 04 Feb 2012 14:16:21 +0100
freebsd-buildutils (9.0-4) unstable; urgency=low
Modified: trunk/freebsd-buildutils/debian/local/include/sys/cdefs.h
===================================================================
--- trunk/freebsd-buildutils/debian/local/include/sys/cdefs.h 2012-02-04 13:11:49 UTC (rev 4074)
+++ trunk/freebsd-buildutils/debian/local/include/sys/cdefs.h 2012-02-04 13:16:32 UTC (rev 4075)
@@ -38,8 +38,14 @@
#include_next <sys/cdefs.h>
-#define __dead2 __attribute__((__noreturn__))
-#define __unused __attribute__((__unused__))
+#define __dead2 __attribute__((__noreturn__))
+#define __pure2 __attribute__((__const__))
+#define __unused __attribute__((__unused__))
+#define __used __attribute__((__used__))
+#define __packed __attribute__((__packed__))
+#define __aligned(x) __attribute__((__aligned__(x)))
+#define __section(x) __attribute__((__section__(x)))
+
#define __offsetof(type, field) __builtin_offsetof(type, field)
#define __printflike(fmtarg, firstvararg) \
__attribute__((__format__ (__printf__, fmtarg, firstvararg)))
More information about the Glibc-bsd-commits
mailing list