Fix up header guards.
[pintos-anon] / src / threads / synch.h
index c74ba6813455f102c6540feb8a433952508c32d5..244479f9ae0afe236c12635bbe730cafce881d3d 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef HEADER_SYNCH_H
-#define HEADER_SYNCH_H 1
+#ifndef THREADS_SYNCH_H
+#define THREADS_SYNCH_H
 
+#include <list.h>
 #include <stdbool.h>
-#include "lib/list.h"
 
 /* A counting semaphore. */
 struct semaphore 
@@ -45,4 +45,4 @@ void cond_signal (struct condition *, struct lock *);
 void cond_broadcast (struct condition *, struct lock *);
 const char *cond_name (const struct condition *);
 
-#endif /* synch.h */
+#endif /* threads/synch.h */