mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-03 16:51:27 +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;
|
unsigned int microsecond;
|
||||||
} ScePspDateTime;
|
} ScePspDateTime;
|
||||||
|
|
||||||
|
/* Thread entry function type. */
|
||||||
|
typedef int (*SceKernelThreadEntry)(SceSize args, void *argp);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -26,10 +26,6 @@ extern "C" {
|
|||||||
/** @addtogroup LoadCore Interface to the LoadCoreForKernel library. */
|
/** @addtogroup LoadCore Interface to the LoadCoreForKernel library. */
|
||||||
/**@{*/
|
/**@{*/
|
||||||
|
|
||||||
#ifndef __THREADMAN_H__
|
|
||||||
typedef int (*SceKernelThreadEntry)(SceSize args, void *argp);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/** Reboot preparation functions */
|
/** Reboot preparation functions */
|
||||||
typedef s32 (*SceKernelRebootBeforeForKernel)(void *arg1, s32 arg2, s32 arg3, s32 arg4);
|
typedef s32 (*SceKernelRebootBeforeForKernel)(void *arg1, s32 arg2, s32 arg3, s32 arg4);
|
||||||
|
@@ -68,8 +68,6 @@ enum PspThreadAttributes
|
|||||||
|
|
||||||
/* Threads. */
|
/* Threads. */
|
||||||
|
|
||||||
typedef int (*SceKernelThreadEntry)(SceSize args, void *argp);
|
|
||||||
|
|
||||||
/** Additional options used when creating threads. */
|
/** Additional options used when creating threads. */
|
||||||
typedef struct SceKernelThreadOptParam {
|
typedef struct SceKernelThreadOptParam {
|
||||||
/** Size of the ::SceKernelThreadOptParam structure. */
|
/** Size of the ::SceKernelThreadOptParam structure. */
|
||||||
|
Reference in New Issue
Block a user