mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-22 04:19:15 +01:00
Fix warnings and implement OSThread structure OSThreadLink
This commit is contained in:
parent
765e5470a1
commit
9909e15954
@ -33,6 +33,6 @@ void InitAcquireNFP(void)
|
||||
|
||||
void InitNFPFunctionPointers(void)
|
||||
{
|
||||
u32 *funcPointer = 0;
|
||||
// u32 *funcPointer = 0;
|
||||
InitAcquireNFP();
|
||||
}
|
||||
|
@ -33,6 +33,6 @@ void InitAcquireNim(void)
|
||||
|
||||
void InitNimFunctionPointers(void)
|
||||
{
|
||||
u32 *funcPointer = 0;
|
||||
// u32 *funcPointer = 0;
|
||||
InitAcquireNim();
|
||||
}
|
||||
|
@ -33,6 +33,6 @@ void InitAcquireNTAG(void)
|
||||
|
||||
void InitNTAGFunctionPointers(void)
|
||||
{
|
||||
u32 *funcPointer = 0;
|
||||
// u32 *funcPointer = 0;
|
||||
InitAcquireNTAG();
|
||||
}
|
||||
|
@ -29,10 +29,10 @@ extern "C" {
|
||||
|
||||
typedef struct OSThread_ OSThread;
|
||||
|
||||
struct OSThreadLink {
|
||||
typedef struct OSThreadLink_ {
|
||||
OSThread *next;
|
||||
OSThread *prev;
|
||||
};
|
||||
} OSThreadLink;
|
||||
|
||||
typedef struct OSThreadQueue_ {
|
||||
OSThread *head;
|
||||
@ -136,7 +136,8 @@ struct OSThread_ {
|
||||
int suspend;
|
||||
int priority;
|
||||
|
||||
char _[0x394 - 0x330];
|
||||
char _[0x394 - 0x330 - sizeof(OSThreadLink)];
|
||||
OSThreadLink linkActive;
|
||||
|
||||
void *stackBase;
|
||||
void *stackEnd;
|
||||
|
Loading…
Reference in New Issue
Block a user