mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
Make two helper functions static.
llvm-svn: 220389
This commit is contained in:
parent
d46a4d6eb2
commit
d5fc2ad2f5
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user