mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-14 17:05:16 +01:00
Merge pull request #17 from BullyWiiPlaza/master
Fix warnings and implement OSThread structure OSThreadLink
This commit is contained in:
commit
8ded3004e8
@ -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