From 0c26a1ffc8b7c55f692f988aa37dca284c1d272b Mon Sep 17 00:00:00 2001
From: a2-stratford <alexander3.stratford@live.uwe.ac.uk>
Date: Mon, 2 Dec 2019 14:05:13 +0000
Subject: [PATCH] Apply suggestion to userprog/process.c

---
 userprog/process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/userprog/process.c b/userprog/process.c
index 3218f12..852f538 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,
-- 
GitLab