summaryrefslogtreecommitdiff
path: root/include/mtd/ubi-user.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-22 22:13:40 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-09-23 16:33:05 +0300
commit5ac748832661e7924bafd06830a247b6ff34c8c3 (patch)
tree60e5396fa4b5f1108a4ba418042e11eb561da39c /include/mtd/ubi-user.h
parentd8f0ae2f26898f652ad3af4536b5d0e4db37714f (diff)
rbtree: avoid redefining offsetof
Newer versions of gcc will define & export offsetof, so we don't want to unconditionally define it. Otherwise we hit: In file included from mkfs.jffs2.c:76:0: rbtree.h:134:0: warning: "offsetof" redefined /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/include/stddef.h:411:0: note: this is the location of the previous definition Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include/mtd/ubi-user.h')
0 files changed, 0 insertions, 0 deletions