am f71a2835: Merge "PackageInfo is a class, not a struct" into lmp-dev-plus-aosp

* commit 'f71a28354cf3339a744b4abb9571fe98f7bad4ee':
  PackageInfo is a class, not a struct
This commit is contained in:
Brian Carlstrom
2014-08-17 23:52:36 +00:00
committed by Android Git Automerger

View File

@@ -89,7 +89,7 @@ void usage(void)
" Prints the OBB signature information of a file.\n\n", gProgName);
}
void doAdd(const char* filename, struct PackageInfo* info) {
void doAdd(const char* filename, PackageInfo* info) {
ObbFile *obb = new ObbFile();
if (obb->readFrom(filename)) {
fprintf(stderr, "ERROR: %s: OBB signature already present\n", filename);
@@ -182,7 +182,7 @@ int main(int argc, char* const argv[])
{
int opt;
int option_index = 0;
struct PackageInfo package_info;
PackageInfo package_info;
int result = 1; // pessimistically assume an error.