lib: move lib headers into lib directory
This commit is contained in:
parent
2f20777a47
commit
a10509f1e5
20 changed files with 13 additions and 24 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
3
lib/stack.c
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#include <kernel/slab.h>
|
||||
|
||||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue