src/java.base/share/native/libjli/args.c
branchihse-warnings-cflags-branch
changeset 56230 489867818774
parent 47216 71c04702a3d5
equal deleted inserted replaced
56229:0015bf3a82e0 56230:489867818774
    92 
    92 
    93     // for tools, this value remains 0 all the time.
    93     // for tools, this value remains 0 all the time.
    94     firstAppArgIndex = hasJavaArgs ? 0: NOT_FOUND;
    94     firstAppArgIndex = hasJavaArgs ? 0: NOT_FOUND;
    95 }
    95 }
    96 
    96 
    97 int JLI_GetAppArgIndex() {
    97 int JLI_GetAppArgIndex(void) {
    98     // Will be 0 for tools
    98     // Will be 0 for tools
    99     return firstAppArgIndex;
    99     return firstAppArgIndex;
   100 }
   100 }
   101 
   101 
   102 static void checkArg(const char *arg) {
   102 static void checkArg(const char *arg) {