diff options
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -41,6 +41,9 @@ return 0; \ BLOCK_END +#define CONTAINER_OF(pointer, type, member) \ + (type *) ((char *) pointer - offsetof (type, member)) + // --- To be moved to liberty -------------------------------------------------- static void |