PackageInfo is a class, not a struct

Change-Id: Ibb30e3a13fc086adec8077c8fb8fb17ef54c36b5
This commit is contained in:
Brian Carlstrom
2014-08-17 16:02:33 -07:00
parent cd3a2e578d
commit 4eedc1018f

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.