X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fsynch.h;h=244479f9ae0afe236c12635bbe730cafce881d3d;hb=c4b619c23029e05041fd35d523ec7f4bcd6d6e13;hp=c74ba6813455f102c6540feb8a433952508c32d5;hpb=f6580e9ad405b519dbe85027691bf3c66074b0a4;p=pintos-anon diff --git a/src/threads/synch.h b/src/threads/synch.h index c74ba68..244479f 100644 --- a/src/threads/synch.h +++ b/src/threads/synch.h @@ -1,8 +1,8 @@ -#ifndef HEADER_SYNCH_H -#define HEADER_SYNCH_H 1 +#ifndef THREADS_SYNCH_H +#define THREADS_SYNCH_H +#include #include -#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 */