From 20e9c36c013c4a9b13cf256ca5262afe3def78ad Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 26 Sep 2020 15:57:09 -0700 Subject: Internalize functions from various tools. NFC And internalize some classes if I noticed them:) --- lld/MachO/Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lld') diff --git a/lld/MachO/Driver.cpp b/lld/MachO/Driver.cpp index 7a8215b..482e4a1 100644 --- a/lld/MachO/Driver.cpp +++ b/lld/MachO/Driver.cpp @@ -88,7 +88,7 @@ void MachOOptTable::printHelp(const char *argv0, bool showHidden) const { lld::outs() << "\n"; } -HeaderFileType getOutputType(const opt::InputArgList &args) { +static HeaderFileType getOutputType(const opt::InputArgList &args) { // TODO: -r, -dylinker, -preload... opt::Arg *outputArg = args.getLastArg(OPT_bundle, OPT_dylib, OPT_execute); if (outputArg == nullptr) -- cgit v1.1