Android CTS 5.1 Release 22 (4181931)
tune2fs: Allow building it as a static lib

This allows getting all of tune2fs as a static library.
The entry point is
  int tune2fs_main(int argc, char **argv).
It requires passing argv[0]="tune2fs" to get tune2fs behavior.

Bug: 18430740
Change-Id: I7bf8d96c53066a4da37778c0d67383b0b820e2ff
8 files changed