mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-03 08:41:34 +00:00
refactor: Move SceKernelThreadEntry
to psptypes.h
Avoids type definition conflicts.
This commit is contained in:
@@ -427,6 +427,9 @@ typedef struct ScePspDateTime {
|
||||
unsigned int microsecond;
|
||||
} ScePspDateTime;
|
||||
|
||||
/* Thread entry function type. */
|
||||
typedef int (*SceKernelThreadEntry)(SceSize args, void *argp);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@@ -26,10 +26,6 @@ extern "C" {
|
||||
/** @addtogroup LoadCore Interface to the LoadCoreForKernel library. */
|
||||
/**@{*/
|
||||
|
||||
#ifndef __THREADMAN_H__
|
||||
typedef int (*SceKernelThreadEntry)(SceSize args, void *argp);
|
||||
#endif
|
||||
|
||||
|
||||
/** Reboot preparation functions */
|
||||
typedef s32 (*SceKernelRebootBeforeForKernel)(void *arg1, s32 arg2, s32 arg3, s32 arg4);
|
||||
|
@@ -68,8 +68,6 @@ enum PspThreadAttributes
|
||||
|
||||
/* Threads. */
|
||||
|
||||
typedef int (*SceKernelThreadEntry)(SceSize args, void *argp);
|
||||
|
||||
/** Additional options used when creating threads. */
|
||||
typedef struct SceKernelThreadOptParam {
|
||||
/** Size of the ::SceKernelThreadOptParam structure. */
|
||||
|
Reference in New Issue
Block a user