diff options
author | ed <ed@FreeBSD.org> | 2011-12-16 08:22:23 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-12-16 08:22:23 +0000 |
commit | 4b3687c37847ee142858d82e7d57794114046919 (patch) | |
tree | 44d66f4615638a7046bcc3ac5c293475470c222f /lib/libgssapi/gss_get_mic.3 | |
parent | 65b6b4fa8f3369ae8f1ddf883233883607f6abb8 (diff) | |
download | FreeBSD-src-4b3687c37847ee142858d82e7d57794114046919.zip FreeBSD-src-4b3687c37847ee142858d82e7d57794114046919.tar.gz |
Process a lot of feedback from bde@ on <sys/cdefs.h>:
- Add __alignof() for non-GCC and GCC < 2.95.
- Simply implement the C1X keywords on top of the existing __macros.
- Add struct __hack to _Static_assert to require consumers to add a
semicolon.
- Add an extra underscore to __assert_ to allow it to be combined with
locally defined versions of CTASSERT in the tree.
- Add proper casts to __offsetof() to make it work for cases where
sizeof(size_t) != sizeof(uintptr_t).
- Globally replace size_t and uintptr_t by __size_t and __uintptr_t.
This removes the dependency on <sys/types.h> / <stdint.h>. Practically
any header file ends up including <machines/_types.h> somehow.
- Change argument names of macros to match with the rest of the file.
MFC after: 3 months
Diffstat (limited to 'lib/libgssapi/gss_get_mic.3')
0 files changed, 0 insertions, 0 deletions