Explorar o código

clean up some warnings

Kevin Bradley %!s(int64=3) %!d(string=hai) anos
pai
achega
b5ce8b6d34
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      bootstrapTool/main.m

+ 2 - 2
bootstrapTool/main.m

@@ -37,7 +37,7 @@ static struct option longopts[] = {
     { NULL,                        0,                      NULL,    0  }
     { NULL,                        0,                      NULL,    0  }
 };
 };
 
 
-void cmd_help(){
+void cmd_help(void){
     printf("Usage: bootstrapTool [OPTIONS] BOOTSTRAP_FOLDER\n");
     printf("Usage: bootstrapTool [OPTIONS] BOOTSTRAP_FOLDER\n");
     printf("Makes various modifications to a raw bootstrap folder\n\n");
     printf("Makes various modifications to a raw bootstrap folder\n\n");
     
     
@@ -51,7 +51,7 @@ void cmd_help(){
     printf("\n");
     printf("\n");
 }
 }
 
 
-int main(int argc, const char * argv[]) {
+int main(int argc, char **argv) {
     @autoreleasepool {
     @autoreleasepool {
         
         
         setuid(0);
         setuid(0);