Moved IGeneralService, formatting

This commit is contained in:
shadowninja108 2018-06-04 00:23:58 -07:00
parent c83696cd41
commit 02bc92fdfa
3 changed files with 5 additions and 5 deletions

View File

@ -12,10 +12,6 @@
#include "../services/sm.h" #include "../services/sm.h"
typedef struct {
Service s;
} IGeneralService;
Result nifmInitialize(void); Result nifmInitialize(void);
void nifmExit(void); void nifmExit(void);

View File

@ -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; } struct servent *getservent(void) { h_errno = NO_RECOVERY; errno = ENOSYS; return NULL; }
void sethostent(int a) { (void)a;} void sethostent(int a) { (void)a;}
void setnetent(int a) { (void)a;} void setnetent(int a) { (void)a;}
void setprotoent(int a) { (void)a; } void setprotoent(int a) { (void)a; }

View File

@ -8,6 +8,10 @@
#include "services/nifm.h" #include "services/nifm.h"
#include "arm/atomics.h" #include "arm/atomics.h"
typedef struct {
Service s;
} IGeneralService;
static Service g_nifmSrv; static Service g_nifmSrv;
static IGeneralService g_nifmIGS; static IGeneralService g_nifmIGS;
static u64 g_refCnt; static u64 g_refCnt;