diff --git a/userprog/argument_parsing.h b/userprog/argument_parsing.h index 99ef71bba60f33a0a81e094ddcb7daca008429b0..37b47e8003c0e7bdbc9cd3cabcb1eca421e8aa82 100644 --- a/userprog/argument_parsing.h +++ b/userprog/argument_parsing.h @@ -14,9 +14,9 @@ int parse_arguments(const char* command_line, char***argv); * Given stack pointer `esp`, argument count `argc` and arguments array `argv`, * Populates the stack pointed to by the stack pointer with the given arguments. * esp is the initial stack pointer from process.c, - * I have used stackPointer as the name as that makes sense inside populate_stack, - * In process.c esp has been renamed to initialStackPointer + * I have used stackPointer as the name as that makes sense inside, + * populate_stack, in process.c esp has been renamed to initial_stack_pointer */ -void populate_stack(void** stackPointer, int argc, char** argv); +void populate_stack(void** stack_pointer, int argc, char** argv); #endif /* userprog/argument_parsing.h */