13 #define NULL ( ( void * ) 0 ) 22 #if defined ( __GNUC__ ) && ( __GNUC__ > 3 ) 23 #define offsetof( type, field ) __builtin_offsetof ( type, field ) 25 #define offsetof( type, field ) ( ( size_t ) &( ( ( type * ) NULL )->field ) ) 36 #define container_of( ptr, type, field ) ( { \ 38 const volatile typeof ( __container->field ) *__field = (ptr); \ 39 __container = ( ( ( void * ) __field ) - \ 40 offsetof ( type, field ) ); \ 44 #ifndef __WCHAR_TYPE__ 45 #define __WCHAR_TYPE__ uint16_t 48 #define __WINT_TYPE__ int FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)