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,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <errno.h>
#include <kernel/common.h>
#include <lib/errno.h>
static const char *errno_str[] = {
[0] = "Success",

View file

@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <kernel/common.h>
#include <math.h>
#include <lib/math.h>
size_t npow2(size_t n)
{

3
lib/stack.c Normal file
View file

@ -0,0 +1,3 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <kernel/slab.h>

View file

@ -2,7 +2,7 @@
#include <kernel/slab.h>
#include <kernel/lock.h>
#include <string.h>
#include <lib/string.h>
void *memcpy(void *dest, const void *src, size_t num)
{