diff --git a/nx/include/switch/services/nifm.h b/nx/include/switch/services/nifm.h index a6dceaa8..ca5dce2b 100644 --- a/nx/include/switch/services/nifm.h +++ b/nx/include/switch/services/nifm.h @@ -12,10 +12,6 @@ #include "../services/sm.h" -typedef struct { - Service s; -} IGeneralService; - Result nifmInitialize(void); void nifmExit(void); diff --git a/nx/source/runtime/devices/socket.c b/nx/source/runtime/devices/socket.c index aba2c09e..357f7d31 100644 --- a/nx/source/runtime/devices/socket.c +++ b/nx/source/runtime/devices/socket.c @@ -1612,4 +1612,4 @@ struct servent *getservbyport(int a, const char *s) { (void)a; (void)s; h_errno struct servent *getservent(void) { h_errno = NO_RECOVERY; errno = ENOSYS; return NULL; } void sethostent(int a) { (void)a;} void setnetent(int a) { (void)a;} -void setprotoent(int a) { (void)a; } +void setprotoent(int a) { (void)a; } \ No newline at end of file diff --git a/nx/source/services/nifm.c b/nx/source/services/nifm.c index 8eed5ffc..641662d5 100644 --- a/nx/source/services/nifm.c +++ b/nx/source/services/nifm.c @@ -8,6 +8,10 @@ #include "services/nifm.h" #include "arm/atomics.h" +typedef struct { + Service s; +} IGeneralService; + static Service g_nifmSrv; static IGeneralService g_nifmIGS; static u64 g_refCnt;