From ab3cfb37fa0316734721087d88279b1ab39ecdc8 Mon Sep 17 00:00:00 2001 From: Denys Smirnov Date: Thu, 19 Oct 2023 13:42:09 +0300 Subject: [PATCH] libs: Add a few more stub headers. --- libs/includes/endian.h | 0 libs/includes/malloc.h | 0 libs/includes/pthread.h | 2 ++ libs/includes/sys/param.h | 0 4 files changed, 2 insertions(+) create mode 100644 libs/includes/endian.h create mode 100644 libs/includes/malloc.h create mode 100644 libs/includes/sys/param.h diff --git a/libs/includes/endian.h b/libs/includes/endian.h new file mode 100644 index 0000000..e69de29 diff --git a/libs/includes/malloc.h b/libs/includes/malloc.h new file mode 100644 index 0000000..e69de29 diff --git a/libs/includes/pthread.h b/libs/includes/pthread.h index 9e1e009..e3685c9 100644 --- a/libs/includes/pthread.h +++ b/libs/includes/pthread.h @@ -64,3 +64,5 @@ typedef struct pthread_mutex_t { #define pthread_join(thread, retval) ((pthread_t_*)thread)->Join(retval) #define pthread_timedjoin_np(thread, retval, abstime) ((pthread_t_*)thread)->TimedJoinNP(retval, abstime) + +void pthread_exit(void *retval); diff --git a/libs/includes/sys/param.h b/libs/includes/sys/param.h new file mode 100644 index 0000000..e69de29