mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
Put assertions behind a DEBUG flag to make it easy to build without them.
This commit is contained in:
parent
f3754b8429
commit
0c898e3c2c
18 changed files with 49 additions and 37 deletions
|
@ -362,27 +362,27 @@ int access(const char* pathname, int mode)
|
|||
int mknod(const char* pathname, mode_t, dev_t)
|
||||
{
|
||||
(void) pathname;
|
||||
assert(false);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
long fpathconf(int fd, int name)
|
||||
{
|
||||
(void) fd;
|
||||
(void) name;
|
||||
assert(false);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
long pathconf(const char* path, int name)
|
||||
{
|
||||
(void) path;
|
||||
(void) name;
|
||||
assert(false);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
void _exit(int status)
|
||||
{
|
||||
syscall(SC_exit, status);
|
||||
assert(false);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
void sync()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue