diff options
author | Bernd Schubert <bschubert@ddn.com> | 2025-04-15 22:03:09 +0200 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-04-28 19:57:39 +0200 |
commit | c5a032b3410d7225ac0355355faa63565a209943 (patch) | |
tree | b47e1fbe7d467539c6f2a211008cada8d32baa10 /lib/fuse.c | |
parent | 2f4d7ca9c47d0266196578d45c6dad3bdcbee3e6 (diff) | |
download | libfuse-c5a032b3410d7225ac0355355faa63565a209943.tar.gz |
Add container_of and ROUND_UP macros
Needed by follow up commits. container_of is actually
just moved/consolidated to util.h.
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Diffstat (limited to 'lib/fuse.c')
-rw-r--r-- | lib/fuse.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -92,10 +92,6 @@ struct node_table { size_t split; }; -#define container_of(ptr, type, member) ({ \ - const typeof( ((type *)0)->member ) *__mptr = (ptr); \ - (type *)( (char *)__mptr - offsetof(type,member) );}) - #define list_entry(ptr, type, member) \ container_of(ptr, type, member) |