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()
20772077 }
20782078}
20792079
2080- std::string resolveArgument (const char *arg) {
2080+ [[nodiscard]] static std::string resolveArgument (const char *arg) {
20812081 if (strlen (arg) > 0 && arg[0 ] == ' @' ) {
20822082 FileContents cnts = readFile (arg + 1 );
20832083 return std::string ((char *)cnts->data (), cnts->size ());
@@ -2087,7 +2087,7 @@ std::string resolveArgument(const char *arg) {
20872087}
20882088
20892089
2090- void showHelp (const std::string & progName)
2090+ static void showHelp (const std::string & progName)
20912091{
20922092 fprintf (stderr, " syntax: %s\n \
20932093 [--set-interpreter FILENAME]\n \
@@ -2122,7 +2122,7 @@ void showHelp(const std::string & progName)
21222122}
21232123
21242124
2125- int mainWrapped (int argc, char * * argv)
2125+ static int mainWrapped (int argc, char * * argv)
21262126{
21272127 if (argc <= 1 ) {
21282128 showHelp (argv[0 ]);
You can’t perform that action at this time.
0 commit comments