services: Add missing void keyword in parameter lists to signify no arguments
This commit is contained in:
parent
3a1a501867
commit
c941b0d2d2
@ -374,7 +374,7 @@ Result AM_InstallTicketFinish(Handle ticketHandle);
|
||||
Result AM_InstallTitleBegin(FS_MediaType mediaType, u64 titleId, bool unk);
|
||||
|
||||
/// Stops installing a title, generally to be resumed later.
|
||||
Result AM_InstallTitleStop();
|
||||
Result AM_InstallTitleStop(void);
|
||||
|
||||
/**
|
||||
* @brief Resumes installing a title.
|
||||
@ -384,10 +384,10 @@ Result AM_InstallTitleStop();
|
||||
Result AM_InstallTitleResume(FS_MediaType mediaType, u64 titleId);
|
||||
|
||||
/// Aborts installing a title.
|
||||
Result AM_InstallTitleAbort();
|
||||
Result AM_InstallTitleAbort(void);
|
||||
|
||||
/// Finishes installing a title.
|
||||
Result AM_InstallTitleFinish();
|
||||
Result AM_InstallTitleFinish(void);
|
||||
|
||||
/**
|
||||
* @brief Commits installed titles.
|
||||
|
@ -51,7 +51,7 @@ Result psInitHandle(Handle handle);
|
||||
void psExit(void);
|
||||
|
||||
/// Returns the PS session handle.
|
||||
Handle psGetSessionHandle();
|
||||
Handle psGetSessionHandle(void);
|
||||
|
||||
/**
|
||||
* @brief Signs a RSA signature.
|
||||
|
@ -120,9 +120,9 @@ long gethostid(void);
|
||||
// this is supposed to be in unistd.h but newlib only puts it for cygwin, waiting for newlib patch from dkA
|
||||
int gethostname(char *name, size_t namelen);
|
||||
|
||||
int SOCU_ShutdownSockets();
|
||||
int SOCU_ShutdownSockets(void);
|
||||
|
||||
int SOCU_CloseSockets();
|
||||
int SOCU_CloseSockets(void);
|
||||
|
||||
/**
|
||||
* @brief Retrieves information from the network configuration. Similar to getsockopt().
|
||||
|
@ -323,7 +323,7 @@ Result udsEjectClient(u16 NetworkNodeID);
|
||||
/**
|
||||
* @brief This can be used by the host to force-disconnect the spectators. Afterwards new spectators will not be allowed to connect until udsAllowSpectators() is used.
|
||||
*/
|
||||
Result udsEjectSpectator();
|
||||
Result udsEjectSpectator(void);
|
||||
|
||||
/**
|
||||
* @brief This can be used by the host to update the network attributes. If bitmask 0x4 is clear in the input bitmask, this clears that bit in the value before actually writing the value into state. Normally you should use the below wrapper functions.
|
||||
|
@ -727,7 +727,7 @@ Result AM_InstallTitleBegin(FS_MediaType mediaType, u64 titleId, bool unk)
|
||||
return (Result)cmdbuf[1];
|
||||
}
|
||||
|
||||
Result AM_InstallTitleStop()
|
||||
Result AM_InstallTitleStop(void)
|
||||
{
|
||||
Result ret = 0;
|
||||
u32 *cmdbuf = getThreadCommandBuffer();
|
||||
@ -755,7 +755,7 @@ Result AM_InstallTitleResume(FS_MediaType mediaType, u64 titleId)
|
||||
}
|
||||
|
||||
|
||||
Result AM_InstallTitleAbort()
|
||||
Result AM_InstallTitleAbort(void)
|
||||
{
|
||||
Result ret = 0;
|
||||
u32 *cmdbuf = getThreadCommandBuffer();
|
||||
@ -767,7 +767,7 @@ Result AM_InstallTitleAbort()
|
||||
return (Result)cmdbuf[1];
|
||||
}
|
||||
|
||||
Result AM_InstallTitleFinish()
|
||||
Result AM_InstallTitleFinish(void)
|
||||
{
|
||||
Result ret = 0;
|
||||
u32 *cmdbuf = getThreadCommandBuffer();
|
||||
|
@ -38,7 +38,7 @@ void psExit(void)
|
||||
psHandle = 0;
|
||||
}
|
||||
|
||||
Handle psGetSessionHandle()
|
||||
Handle psGetSessionHandle(void)
|
||||
{
|
||||
return psHandle;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <3ds/ipc.h>
|
||||
#include <3ds/result.h>
|
||||
|
||||
int SOCU_CloseSockets()
|
||||
int SOCU_CloseSockets(void)
|
||||
{
|
||||
u32 *cmdbuf = getThreadCommandBuffer();
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <3ds/ipc.h>
|
||||
#include <3ds/result.h>
|
||||
|
||||
int SOCU_ShutdownSockets()
|
||||
int SOCU_ShutdownSockets(void)
|
||||
{
|
||||
u32 *cmdbuf = getThreadCommandBuffer();
|
||||
|
||||
|
@ -335,7 +335,7 @@ Result udsEjectClient(u16 NetworkNodeID)
|
||||
return cmdbuf[1];
|
||||
}
|
||||
|
||||
Result udsEjectSpectator()
|
||||
Result udsEjectSpectator(void)
|
||||
{
|
||||
u32* cmdbuf=getThreadCommandBuffer();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user