mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
Moved IGeneralService, formatting
This commit is contained in:
parent
c83696cd41
commit
02bc92fdfa
@ -12,10 +12,6 @@
|
||||
|
||||
#include "../services/sm.h"
|
||||
|
||||
typedef struct {
|
||||
Service s;
|
||||
} IGeneralService;
|
||||
|
||||
Result nifmInitialize(void);
|
||||
void nifmExit(void);
|
||||
|
||||
|
@ -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; }
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user