diff --git a/userprog/process.c b/userprog/process.c
index 3218f12bdc9f391d570471184ec788157dd13435..852f53858fa85495fda98f0db0c9605cf93e7e73 100644
--- a/userprog/process.c
+++ b/userprog/process.c
@@ -212,7 +212,7 @@ struct Elf32_Phdr
 #define PF_W 2          /* Writable. */
 #define PF_R 4          /* Readable. */
 
-static bool setup_stack(void **initial_stack_pointer, char **argv, int argc)
+static bool setup_stack(void **initial_stack_pointer, char **argv, int argc);
 static bool validate_segment (const struct Elf32_Phdr *, struct file *);
 static bool load_segment (struct file *file, off_t ofs, uint8_t *upage,
                           uint32_t read_bytes, uint32_t zero_bytes,