summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ar/llvm-ar.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-10-22 15:05:51 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-10-22 15:05:51 +0000
commitdbc0416b4b918bef828755b02302cd5a6ed74d30 (patch)
tree1a4559307b029713351581956e5bc6f8c65b2eb5 /llvm/tools/llvm-ar/llvm-ar.cpp
parentae50c89589a7a1ef2d347367ab22128890cc49ee (diff)
downloadbcm5719-llvm-dbc0416b4b918bef828755b02302cd5a6ed74d30.tar.gz
bcm5719-llvm-dbc0416b4b918bef828755b02302cd5a6ed74d30.zip
Make two helper functions static.
llvm-svn: 220389
Diffstat (limited to 'llvm/tools/llvm-ar/llvm-ar.cpp')
-rw-r--r--llvm/tools/llvm-ar/llvm-ar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index 6858a94b36b..679b23e9198 100644
--- a/llvm/tools/llvm-ar/llvm-ar.cpp
+++ b/llvm/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];
OpenPOWER on IntegriCloud