diff --git a/kernel/ActionDoxyfile b/kernel/ActionDoxyfile index b78cdb2..fe3eaf3 100644 --- a/kernel/ActionDoxyfile +++ b/kernel/ActionDoxyfile @@ -4,6 +4,7 @@ OPTIMIZE_OUTPUT_FOR_C = YES TYPEDEF_HIDES_STRUCT = YES EXTRACT_STATIC = YES WARN_NO_PARAMDOC = YES +WARN_AS_ERROR = YES INPUT = ./kernel RECURSIVE = YES EXCLUDE = kernel/cpu/x86_64 diff --git a/kernel/Doxyfile b/kernel/Doxyfile index d0f73db..36597dc 100644 --- a/kernel/Doxyfile +++ b/kernel/Doxyfile @@ -795,7 +795,7 @@ WARN_NO_PARAMDOC = YES # a warning is encountered. # The default value is: NO. -WARN_AS_ERROR = NO +WARN_AS_ERROR = YES # The WARN_FORMAT tag determines the format of the warning messages that doxygen # can produce. The string should contain the $file, $line, and $text tags, which @@ -2204,7 +2204,8 @@ INCLUDE_FILE_PATTERNS = # recursively expanded use the := operator instead of the = operator. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -PREDEFINED = __attribute__(x)= DOXYGEN_SHOULD_SKIP_THIS= +PREDEFINED = __attribute__(x)= \ + DOXYGEN_SHOULD_SKIP_THIS= # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The diff --git a/kernel/pmem.h b/kernel/pmem.h index 59556ff..8aed39e 100644 --- a/kernel/pmem.h +++ b/kernel/pmem.h @@ -24,6 +24,6 @@ void* pmem_alloc(int num_pages); * \param start The address to start freeing at. * \param num_pages The number of frames to free */ -void pmem_free(int start,int num_pages); +void pmem_free(void* start,int num_pages); #endif diff --git a/libc/ActionDoxyfile b/libc/ActionDoxyfile index 5de1dcf..ea71aa8 100644 --- a/libc/ActionDoxyfile +++ b/libc/ActionDoxyfile @@ -4,6 +4,7 @@ OPTIMIZE_OUTPUT_FOR_C = YES TYPEDEF_HIDES_STRUCT = YES EXTRACT_STATIC = YES WARN_NO_PARAMDOC = YES +WARN_AS_ERROR = YES INPUT = ./libc RECURSIVE = YES EXCLUDE = elf.h grub/multiboot2.h diff --git a/libc/Doxyfile b/libc/Doxyfile index 326bb83..8b73b9a 100644 --- a/libc/Doxyfile +++ b/libc/Doxyfile @@ -4,6 +4,7 @@ OPTIMIZE_OUTPUT_FOR_C = YES TYPEDEF_HIDES_STRUCT = YES EXTRACT_STATIC = YES WARN_NO_PARAMDOC = YES +WARN_AS_ERROR = YES INPUT = /Users/peterterpstra/Desktop/projects/os/libc RECURSIVE = YES EXCLUDE = libc/elf.h libc/grub/multiboot2.h