12 #define NULL ( ( void * ) 0 ) 21 #if defined ( __GNUC__ ) && ( __GNUC__ > 3 ) 22 #define offsetof( type, field ) __builtin_offsetof ( type, field ) 24 #define offsetof( type, field ) ( ( size_t ) &( ( ( type * ) NULL )->field ) ) 35 #define container_of( ptr, type, field ) ( { \ 37 const volatile typeof ( __container->field ) *__field = (ptr); \ 38 __container = ( ( ( void * ) __field ) - \ 39 offsetof ( type, field ) ); \ 43 #ifndef __WCHAR_TYPE__ 44 #define __WCHAR_TYPE__ uint16_t 47 #define __WINT_TYPE__ int FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)