blob: 7d9179d443d92850100368147bff656d3fe008c0 (
plain)
1
2
3
4
5
6
7
8
9
|
#ifndef INCGUARD_yisgKqALPG4lfEqb
#define INCGUARD_yisgKqALPG4lfEqb
#define container_of(P, T, M) \
((T*)( ((size_t)P) - ((size_t)((char*)&((T*)0)->M - (char*)0) )))
#endif /* INCGUARD_yisgKqALPG4lfEqb */
|