XyrisOS/xyris

Cleanup `#include` Syntax

Closed this issue · 2 comments

Headers should use quotes (#include "header.hpp") when the header file is in the same directory. Only when it lives elsewhere in the kernel should angled brackets (#include </path/to/header.hpp>) be used.

Leaving this issue open since it's a fact that includes need to be cleaned up, but @micahswitzer raises a fair point that angled brackets are supposed to be for public includes and quotes are supposed to be for private includes.

Hold off on this until we have a clean definition of what is public and private.

Going to take a queue from SerenityOS and others and keep the angled include brackets. Closing.