diff --git a/sortix/calltrace.cpp b/sortix/calltrace.cpp index 855d04b6..d5c91ebd 100644 --- a/sortix/calltrace.cpp +++ b/sortix/calltrace.cpp @@ -23,7 +23,7 @@ *******************************************************************************/ #include -#include "calltrace.h" +#include namespace Sortix { namespace Calltrace { diff --git a/sortix/calltrace.h b/sortix/include/sortix/kernel/calltrace.h similarity index 90% rename from sortix/calltrace.h rename to sortix/include/sortix/kernel/calltrace.h index 8ebfa420..7858047e 100644 --- a/sortix/calltrace.h +++ b/sortix/include/sortix/kernel/calltrace.h @@ -17,13 +17,13 @@ You should have received a copy of the GNU General Public License along with Sortix. If not, see . - calltrace.h + sortix/kernel/calltrace.h Traverses the stack and prints the callstack, which aids debugging. *******************************************************************************/ -#ifndef SORTIX_CALLTRACE_H -#define SORTIX_CALLTRACE_H +#ifndef INCLUDE_SORTIX_KERNEL_CALLTRACE_H +#define INCLUDE_SORTIX_KERNEL_CALLTRACE_H namespace Sortix { namespace Calltrace { diff --git a/sortix/interrupt.cpp b/sortix/interrupt.cpp index f4ebdb55..27e29c2d 100644 --- a/sortix/interrupt.cpp +++ b/sortix/interrupt.cpp @@ -28,13 +28,13 @@ #include #include #include +#include #include #include #include #include "x86-family/idt.h" -#include "calltrace.h" #include "sound.h" // Hack for SIGSEGV diff --git a/sortix/panic.cpp b/sortix/panic.cpp index 21c8183c..42c76544 100644 --- a/sortix/panic.cpp +++ b/sortix/panic.cpp @@ -22,12 +22,13 @@ *******************************************************************************/ +#include + #include #include -#include #include -#include "calltrace.h" #include +#include namespace Sortix {