summaryrefslogtreecommitdiff
path: root/Kernel/API/Device.h
AgeCommit message (Collapse)Author
2022-03-18Kernel: Mark `serenity_dev_` functions as staticBrian Gianforcaro
This avoids multiple definition errors when linking software which may utilize these functions from different compilation units.
2022-01-09Everywhere: Add `serenity_dev_{makedev,major,minor}`Michel Hermier
Add them in `<Kernel/API/Device.h>` and use these to provides `{makedev,major,minor}` in `<sys/sysmacros.h>`. It aims to be more in line with other Unix implementations and avoid code duplication in user land.