lib: move lib headers into lib directory

This commit is contained in:
Michael Shaw 2024-01-30 22:00:20 -05:00
commit a10509f1e5
20 changed files with 13 additions and 24 deletions

View file

@ -1,17 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _ASSERT_H_
#define _ASSERT_H_
#ifdef KDEBUG
#define assert(expr) \
do { \
if (!(expr)) { \
kprintf(LOG_ERROR "assertion failed: %s, file %s, line %d\n", #expr, __FILE__, __LINE__); \
yield(); \
} \
} while (0)
#else
#define assert(expr) ((void)0)
#endif
#endif /* _ASSERT_H_ */