aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/assert.h
diff options
context:
space:
mode:
authorMarvin Borner2020-06-17 18:31:46 +0200
committerMarvin Borner2020-06-17 18:31:46 +0200
commiteed77bd2970a00d1394ed027ceca5b646e4671ce (patch)
treec44643d98aed2b6818f2b33417c0dea9c5853094 /src/userspace/libc/assert.h
parent49dfa1f4021026bf7c4d77817959c8aa24067016 (diff)
Started rewrite
Diffstat (limited to 'src/userspace/libc/assert.h')
-rw-r--r--src/userspace/libc/assert.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/userspace/libc/assert.h b/src/userspace/libc/assert.h
deleted file mode 100644
index 5ff70ab..0000000
--- a/src/userspace/libc/assert.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef MELVIX_ASSERT_H
-#define MELVIX_ASSERT_H
-
-#define __FILENAME__ \
- (__builtin_strrchr(__FILE__, '/') ? __builtin_strrchr(__FILE__, '/') + 1 : __FILE__)
-#define assert(exp) (exp) ? 0 : _assert(__FILENAME__, __LINE__, __func__, #exp)
-
-#endif \ No newline at end of file