X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fllvm-ar%2Fllvm-ar.cpp;h=679b23e9198cf468856be4c8ed44354ce707a72c;hb=d5b89313e03fce6f91a1e925848e9023863c7d7e;hp=6858a94b36bd75d7fe1d376dfe7bf6d05bc5a45c;hpb=79ca2c234d001bf26dd3f6a724257ac03abca61a;p=oota-llvm.git diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp index 6858a94b36b..679b23e9198 100644 --- a/tools/llvm-ar/llvm-ar.cpp +++ b/tools/llvm-ar/llvm-ar.cpp @@ -1016,14 +1016,14 @@ static void runMRIScript() { exit(0); } -int ar_main(char **argv) { +static int ar_main(char **argv) { // Do our own parsing of the command line because the CommandLine utility // can't handle the grouped positional parameters without a dash. ArchiveOperation Operation = parseCommandLine(); return performOperation(Operation, nullptr); } -int ranlib_main() { +static int ranlib_main() { if (RestOfArgs.size() != 1) fail(ToolName + "takes just one archive as argument"); ArchiveName = RestOfArgs[0];