X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fsynch.h;h=244479f9ae0afe236c12635bbe730cafce881d3d;hb=c4b619c23029e05041fd35d523ec7f4bcd6d6e13;hp=d21ecff08ca546473cbfc7d84229fa5d54310fab;hpb=3625c2e6aba3b282f91282492c4b3fba324816c1;p=pintos-anon diff --git a/src/threads/synch.h b/src/threads/synch.h index d21ecff..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 "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 */