mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 18:42:15 +02:00
Formatting fixes
This commit is contained in:
parent
3ce66de1eb
commit
81e5fa83a8
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Result auddevInitialize(void);
|
Result auddevInitialize(void);
|
||||||
void auddevExit(void);
|
void auddevExit(void);
|
||||||
Service* auddevgetServiceSession(void);
|
Service* auddevGetServiceSession(void);
|
||||||
|
|
||||||
Result auddevListAudioDeviceName(AudioDeviceName *DeviceNames, s32 max_names, s32 *total_names);
|
Result auddevListAudioDeviceName(AudioDeviceName *DeviceNames, s32 max_names, s32 *total_names);
|
||||||
Result auddevSetAudioDeviceOutputVolume(const AudioDeviceName *DeviceName, float volume);
|
Result auddevSetAudioDeviceOutputVolume(const AudioDeviceName *DeviceName, float volume);
|
||||||
|
@ -41,8 +41,7 @@ void apmExit(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* apmGetServiceSession(void)
|
Service* apmGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_apmSrv;
|
return &g_apmSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,8 +47,7 @@ void auddevExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* auddevGetServiceSession(void)
|
Service* auddevGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_auddevIAudioDevice;
|
return &g_auddevIAudioDevice;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,8 +129,7 @@ void audrenExit(void)
|
|||||||
tmemClose(&g_audrenWorkBuf);
|
tmemClose(&g_audrenWorkBuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* audrenGetServiceSession(void)
|
Service* audrenGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_audrenIAudioRenderer;
|
return &g_audrenIAudioRenderer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,8 +29,7 @@ void bpcExit(void)
|
|||||||
serviceClose(&g_bpcSrv);
|
serviceClose(&g_bpcSrv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* bpcGetServiceSession(void)
|
Service* bpcGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_bpcSrv;
|
return &g_bpcSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -277,8 +277,7 @@ void bsdExit(void) {
|
|||||||
tmemClose(&g_bsdTmem);
|
tmemClose(&g_bsdTmem);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* bsdGetServiceSession(void)
|
Service* bsdGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_bsdSrv;
|
return &g_bsdSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,8 +33,7 @@ void capsscExit(void) {
|
|||||||
serviceClose(&g_capsscSrv);
|
serviceClose(&g_capsscSrv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* capsscGetServiceSession(void)
|
Service* capsscGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_capsscSrv;
|
return &g_capsscSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,8 +35,7 @@ void capssuExit(void) {
|
|||||||
serviceClose(&g_capssuSrv);
|
serviceClose(&g_capssuSrv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* capssuGetServiceSession(void)
|
Service* capssuGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_capssuSrv;
|
return &g_capssuSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,7 @@ void clkrstExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* clkrstGetServiceSession(void)
|
Service* clkrstGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_clkrstSrv;
|
return &g_clkrstSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,8 +25,7 @@ void csrngExit(void) {
|
|||||||
serviceClose(&g_csrngSrv);
|
serviceClose(&g_csrngSrv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* csrngGetServiceSession(void)
|
Service* csrngGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_csrngSrv;
|
return &g_csrngSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,8 +39,7 @@ void fsldrExit(void) {
|
|||||||
serviceClose(&g_fsldrSrv);
|
serviceClose(&g_fsldrSrv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* fsldrGetServiceSession(void)
|
Service* fsldrGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_fsldrSrv;
|
return &g_fsldrSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,8 +39,7 @@ void fsprExit(void) {
|
|||||||
serviceClose(&g_fsprSrv);
|
serviceClose(&g_fsprSrv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* fsprGetServiceSession(void)
|
Service* fsprGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_fsprSrv;
|
return &g_fsprSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,8 +29,7 @@ void gpioExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* gpioGetServiceSession(void)
|
Service* gpioGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_gpioSrv;
|
return &g_gpioSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,7 @@ void hiddbgExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* hiddbgGetServiceSession(void)
|
Service* hiddbgGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_hiddbgSrv;
|
return &g_hiddbgSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,7 @@ void hidsysExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* hidsysGetServiceSession(void)
|
Service* hidsysGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_hidsysSrv;
|
return &g_hidsysSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,8 +33,7 @@ void i2cExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* i2cGetServiceSession(void)
|
Service* i2cGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_i2cSrv;
|
return &g_i2cSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,8 +29,7 @@ void lblExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* lblGetServiceSession(void)
|
Service* lblGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_lblSrv;
|
return &g_lblSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,8 +27,7 @@ void lrExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* lrGetServiceSession(void)
|
Service* lrGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_managerSrv;
|
return &g_managerSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,8 +20,7 @@ void ncmExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* ncmGetServiceSession(void)
|
Service* ncmGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_ncmSrv;
|
return &g_ncmSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,8 +30,7 @@ void pcvExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* pcvGetServiceSession(void)
|
Service* pcvGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_pcvSrv;
|
return &g_pcvSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,8 +29,7 @@ void pdmqryExit(void) {
|
|||||||
serviceClose(&g_pdmqrySrv);
|
serviceClose(&g_pdmqrySrv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* pdmqryGetServiceSession(void)
|
Service* pdmqryGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_pdmqrySrv;
|
return &g_pdmqrySrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,8 +53,7 @@ void plExit(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* plGetServiceSession(void)
|
Service* plGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_plSrv;
|
return &g_plSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,8 +45,7 @@ void pscExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* pscGetServiceSession(void)
|
Service* pscGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_pscSrv;
|
return &g_pscSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,7 @@ void psmExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* psmGetServiceSession(void)
|
Service* psmGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_psmSrv;
|
return &g_psmSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,7 @@ void ldrRoExit(void) {
|
|||||||
serviceClose(&g_roSrv);
|
serviceClose(&g_roSrv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* ldrRoGetServiceSession(void)
|
Service* ldrRoGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_roSrv;
|
return &g_roSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -64,8 +63,7 @@ void ro1Exit(void) {
|
|||||||
serviceClose(&g_ro1Srv);
|
serviceClose(&g_ro1Srv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* ro1GetServiceSession(void)
|
Service* ro1GetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_ro1Srv;
|
return &g_ro1Srv;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,8 +83,7 @@ void roDmntExit(void) {
|
|||||||
serviceClose(&g_dmntSrv);
|
serviceClose(&g_dmntSrv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* roDmntGetServiceSession(void)
|
Service* roDmntGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_dmntSrv;
|
return &g_dmntSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,8 +45,7 @@ void setExit(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* setGetServiceSession(void)
|
Service* setGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_setSrv;
|
return &g_setSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,8 +66,7 @@ void setsysExit(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* setsysGetSessionService(void)
|
Service* setsysGetSessionService(void) {
|
||||||
{
|
|
||||||
return &g_setsysSrv;
|
return &g_setsysSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -94,8 +94,7 @@ void splExit(void) {
|
|||||||
return _splSrvExit(&g_splSrv, &g_splRefCnt);
|
return _splSrvExit(&g_splSrv, &g_splRefCnt);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* splGetServiceSession(void)
|
Service* splGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_splSrv;
|
return &g_splSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -115,8 +114,7 @@ void splCryptoExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* splCryptogetServiceSession(void)
|
Service* splCryptogetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_splCryptoSrv;
|
return &g_splCryptoSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -136,8 +134,7 @@ void splSslExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* splSslGetServiceSession(void)
|
Service* splSslGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_splSslSrv;
|
return &g_splSslSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -157,8 +154,7 @@ void splEsExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* splEsGetServiceSession(void)
|
Service* splEsGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_splEsSrv;
|
return &g_splEsSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -178,8 +174,7 @@ void splFsExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* splFsGetServiceSession(void)
|
Service* splFsGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_splFsSrv;
|
return &g_splFsSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -191,8 +186,7 @@ void splManuExit(void) {
|
|||||||
return _splSrvExit(&g_splManuSrv, &g_splManuRefCnt);
|
return _splSrvExit(&g_splManuSrv, &g_splManuRefCnt);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* splManuGetServiceSession(void)
|
Service* splManuGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_splManuSrv;
|
return &g_splManuSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,8 +29,7 @@ void spsmExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* spsmGetServiceSession(void)
|
Service* spsmGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_spsmSrv;
|
return &g_spsmSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,8 +78,7 @@ void usbDsExit(void)
|
|||||||
serviceClose(&g_usbDsSrv);
|
serviceClose(&g_usbDsSrv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* usbDsGetServiceSession(void)
|
Service* usbDsGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_usbDsSrv;
|
return &g_usbDsSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,8 +52,7 @@ void usbHsExit(void) {
|
|||||||
serviceClose(&g_usbHsSrv);
|
serviceClose(&g_usbHsSrv);
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* usbHsGetServiceSession(void)
|
Service* usbHsGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_usbHsSrv;
|
return &g_usbHsSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,7 @@ void wlaninfExit(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Service* wlaninfGetServiceSession(void)
|
Service* wlaninfGetServiceSession(void) {
|
||||||
{
|
|
||||||
return &g_wlaninfSrv;
|
return &g_wlaninfSrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user