Whamcloud - gitweb
libext2fs: use offsetof() from stddef.h
authorMichael Forney <mforney@mforney.org>
Wed, 14 Apr 2021 07:41:28 +0000 (00:41 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 6 Jul 2021 00:22:57 +0000 (20:22 -0400)
commita39e58bab602dc39cf263954c4484c8d12bf306c
tree9c73ff65690a01bb45ddcd4937a4fec3b42938e6
parent9d5fdcc5db1b5246028dc871e5f0fb908dd64771
libext2fs: use offsetof() from stddef.h

offsetof is a standard C feature available from stddef.h, going
back all the way to ANSI C.

Signed-off-by: Michael Forney <mforney@mforney.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/compiler.h