Parcourir la source

clean up some warnings

Kevin Bradley il y a 3 ans
Parent
commit
b5ce8b6d34
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      bootstrapTool/main.m

+ 2 - 2
bootstrapTool/main.m

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