summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/sys/sysmacros.h
blob: 1e437765541b4d1ca2560395a44c4d90eab84cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <Kernel/API/Device.h>

#define makedev(major, minor) serenity_dev_makedev((major), (minor))
#define major(dev) serenity_dev_major(dev)
#define minor(dev) serenity_dev_minor(dev)