]> www.infradead.org Git - mtd-utils.git/commit
libmtd: amend interface
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 18 Apr 2009 13:01:40 +0000 (16:01 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 18 Apr 2009 13:05:50 +0000 (16:05 +0300)
commit194b2a55f626b94323b377d75edb295f536359c5
tree91e771457a49ca06775f2e1afcbb6756f8cfc5ce
parenta2ce5f7a0f5abf0077e057c476440d10e5e5ef45
libmtd: amend interface

Remove the fd field from the mtd information data structure,
because libmtd does not really know the device node file name,
and serves only as a place to save the descriptor. The callers
should find a better place.

This patch improves code readability and prepares for further
changes.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
ubi-utils/include/libmtd.h
ubi-utils/include/libscan.h
ubi-utils/src/libmtd.c
ubi-utils/src/libscan.c
ubi-utils/src/ubiformat.c