Fix up header guards.
[pintos-anon] / src / threads / palloc.h
index 9bd076f4214b3f493fcbdfee955b758a5b20a221..ca7824e58c7c9282eda82f14b5b6a0cae6507561 100644 (file)
@@ -1,9 +1,5 @@
-#ifndef HEADER_PALLOC_H
-#define HEADER_PALLOC_H 1
-
-/* Page allocator.  Hands out memory in page-size chunks.
-   See malloc.h for an allocator that hands out smaller
-   chunks. */
+#ifndef THREADS_PALLOC_H
+#define THREADS_PALLOC_H
 
 #include <stdint.h>
 
@@ -13,8 +9,8 @@ enum palloc_flags
     PAL_ZERO = 002              /* Zero page contents. */
   };
 
-void palloc_init (uint8_t *start, uint8_t *end);
+void palloc_init (void);
 void *palloc_get (enum palloc_flags);
 void palloc_free (void *);
 
-#endif /* palloc.h */
+#endif /* threads/palloc.h */