mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
Make two helper functions static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220389 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1016,14 +1016,14 @@ static void runMRIScript() {
|
|||||||
exit(0);
|
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
|
// Do our own parsing of the command line because the CommandLine utility
|
||||||
// can't handle the grouped positional parameters without a dash.
|
// can't handle the grouped positional parameters without a dash.
|
||||||
ArchiveOperation Operation = parseCommandLine();
|
ArchiveOperation Operation = parseCommandLine();
|
||||||
return performOperation(Operation, nullptr);
|
return performOperation(Operation, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
int ranlib_main() {
|
static int ranlib_main() {
|
||||||
if (RestOfArgs.size() != 1)
|
if (RestOfArgs.size() != 1)
|
||||||
fail(ToolName + "takes just one archive as argument");
|
fail(ToolName + "takes just one archive as argument");
|
||||||
ArchiveName = RestOfArgs[0];
|
ArchiveName = RestOfArgs[0];
|
||||||
|
Reference in New Issue
Block a user