summaryrefslogtreecommitdiff
path: root/lib/libc/include/assert.h
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-10-16 02:39:56 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-10-16 02:39:56 +0800
commit8cace3f05003c6cb4d38c36890055f03151c2ad4 (patch)
treeaa739deaac0266f17c4e91b333957501cb1ea2e9 /lib/libc/include/assert.h
parent3ad39e9878310e5317ee73c9b353c1e2c1c5c4ee (diff)
downloadlume-8cace3f05003c6cb4d38c36890055f03151c2ad4.tar.gz
lume-8cace3f05003c6cb4d38c36890055f03151c2ad4.tar.xz
Remove old code
Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
Diffstat (limited to 'lib/libc/include/assert.h')
-rw-r--r--lib/libc/include/assert.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/libc/include/assert.h b/lib/libc/include/assert.h
deleted file mode 100644
index 8b6252e..0000000
--- a/lib/libc/include/assert.h
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2020 The Fuchsia Authors
-//
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file or at
-// https://opensource.org/licenses/MIT
-
-#pragma once
-
-#include <zircon/assert.h>
-
-#ifdef NDEBUG
-#define assert(expr) ((void)0)
-#else
-#define assert(expr) ZX_ASSERT(expr)
-#endif
-
-// make sure static_assert() is defined, even in C
-#if !defined(__cplusplus) && !defined(static_assert)
-#define static_assert(e, msg) _Static_assert(e, msg)
-#endif