File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2077,7 +2077,7 @@ static void patchElf()
2077
2077
}
2078
2078
}
2079
2079
2080
- std::string resolveArgument (const char *arg) {
2080
+ [[nodiscard]] static std::string resolveArgument (const char *arg) {
2081
2081
if (strlen (arg) > 0 && arg[0 ] == ' @' ) {
2082
2082
FileContents cnts = readFile (arg + 1 );
2083
2083
return std::string ((char *)cnts->data (), cnts->size ());
@@ -2087,7 +2087,7 @@ std::string resolveArgument(const char *arg) {
2087
2087
}
2088
2088
2089
2089
2090
- void showHelp (const std::string & progName)
2090
+ static void showHelp (const std::string & progName)
2091
2091
{
2092
2092
fprintf (stderr, " syntax: %s\n \
2093
2093
[--set-interpreter FILENAME]\n \
@@ -2122,7 +2122,7 @@ void showHelp(const std::string & progName)
2122
2122
}
2123
2123
2124
2124
2125
- int mainWrapped (int argc, char * * argv)
2125
+ static int mainWrapped (int argc, char * * argv)
2126
2126
{
2127
2127
if (argc <= 1 ) {
2128
2128
showHelp (argv[0 ]);
You can’t perform that action at this time.
0 commit comments