diff options
author | dzwdz | 2023-02-23 20:07:59 +0100 |
---|---|---|
committer | dzwdz | 2023-02-23 20:07:59 +0100 |
commit | fca80df9e638a7d68147d91cbffda95aed96ab5c (patch) | |
tree | 7f64c1bd425303e3a09baaf9975cfb476ddd527f /src/user/lib/thread.h | |
parent | 71ad3a8e7ace69f1c8dd732f5a223b93d8b5e946 (diff) |
build: don't -Isrc/ in user code
Diffstat (limited to 'src/user/lib/thread.h')
-rw-r--r-- | src/user/lib/thread.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/user/lib/thread.h b/src/user/lib/thread.h deleted file mode 100644 index 5a5ddc0..0000000 --- a/src/user/lib/thread.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once -#include <stdlib.h> - -void thread_creates(int flags, void (*fn)(void*), void *arg, void *stack); - -static inline void thread_create(int flags, void (*fn)(void*), void *arg) { - /* error checking is for WIMPS. */ - thread_creates(flags, fn, arg, malloc(4096) + 4096); -} |