Skip to content

Commit

Permalink
Remove meanless wrappers
Browse files Browse the repository at this point in the history
SceIo and SceProcessmgr
  • Loading branch information
Princess-of-Sleeping committed Feb 23, 2022
1 parent a8b3c6c commit ae6ceaf
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 43 deletions.
3 changes: 0 additions & 3 deletions include/psp2/io/devctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ int sceIoIoctl(SceUID fd, unsigned int cmd, void *indata, int inlen, void *outda
*/
int sceIoIoctlAsync(SceUID fd, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen);

int _sceIoDevctl(const char *devname, int cmd, const void *arg, SceSize arglen);
int _sceIoIoctl(SceUID fd, int cmd, const void *argp, SceSize arglen);

#ifdef __cplusplus
}
#endif
Expand Down
3 changes: 0 additions & 3 deletions include/psp2/io/dirent.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ int sceIoDread(SceUID fd, SceIoDirent *dir);
*/
int sceIoDclose(SceUID fd);

SceUID _sceIoDopen(const char *dirname);
int _sceIoDread(SceUID fd, SceIoDirent *buf);

#ifdef __cplusplus
}
#endif
Expand Down
29 changes: 0 additions & 29 deletions include/psp2/io/fcntl.h
Original file line number Diff line number Diff line change
Expand Up @@ -291,35 +291,6 @@ int sceIoSetPriority(SceUID fd, int priority);
int sceIoSetProcessDefaultPriority(int priority);
int sceIoSetThreadDefaultPriority(int priority);

typedef struct SceIoLseekSyscallArgs {
SceOff offset;
int whence;
int padding;
} SceIoLseekSyscallArgs;

SceOff _sceIoLseek(SceUID fd, SceIoLseekSyscallArgs *args);

typedef struct SceIoPreadSyscallArgs {
void *buf;
SceSize nbyte;
SceOff offset;
} SceIoPreadSyscallArgs;

SceSSize _sceIoPread(SceUID fd, SceIoPreadSyscallArgs *args);

typedef struct SceIoPwriteSyscallArgs {
const void *buf;
SceSize nbyte;
SceOff offset;
} SceIoPwriteSyscallArgs;

SceSSize _sceIoPwrite(SceUID fd, SceIoPwriteSyscallArgs *args);

SceUID _sceIoOpen(const char *filename, int flag, SceIoMode mode, SceUInt64 *syscall_validity);
int _sceIoSync(const char *devname, int flag, SceUInt64 *syscall_validity);
int _sceIoRemove(const char *filename, SceUInt64 *syscall_validity);
int _sceIoRename(const char *oldname, const char *newname, void *syscall_validity);

#ifdef __cplusplus
}
#endif
Expand Down
7 changes: 0 additions & 7 deletions include/psp2/io/stat.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,6 @@ int sceIoChstat(const char *file, SceIoStat *stat, int bits);
*/
int sceIoChstatByFd(SceUID fd, const SceIoStat *buf, unsigned int cbit);

int _sceIoMkdir(const char *dirname, SceIoMode mode);
int _sceIoRmdir(const char *dirname);
int _sceIoChstat(const char *name, const SceIoStat *buf, unsigned int cbit);
int _sceIoChstatByFd(SceUID fd, const SceIoStat *buf, unsigned int cbit);
int _sceIoGetstat(const char *name, SceIoStat *buf);
int _sceIoGetstatByFd(SceUID fd, SceIoStat *buf);

#ifdef __cplusplus
}
#endif
Expand Down
1 change: 0 additions & 1 deletion include/psp2/kernel/processmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ SceUInt64 sceKernelGetProcessTimeWide(void);

SceUID sceKernelGetCurrentProcess(void);
SceInt32 sceKernelGetRemoteProcessTime(SceUID processId, SceKernelSysClock *pClock);
int _sceKernelExitProcessForUser(SceInt32 stat);

SceUID sceKernelGetStderr(void);
SceUID sceKernelGetStdin(void);
Expand Down

0 comments on commit ae6ceaf

Please sign in to comment.