1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-10 06:01:52 +00:00

strat: fix inclusion/ordering for some c headers

This commit is contained in:
Michael Scire 2020-08-14 17:33:49 -07:00
parent 51b5c3d87d
commit 7658c07492
4 changed files with 8 additions and 13 deletions

View file

@ -15,9 +15,7 @@
*/
#pragma once
#include <switch/types.h>
#include <switch/kernel/event.h>
#include <switch/services/sm.h>
#include <switch.h>
#ifdef __cplusplus
extern "C" {

View file

@ -15,9 +15,7 @@
*/
#pragma once
#include <switch/types.h>
#include <switch/kernel/event.h>
#include <switch/services/sm.h>
#include <switch.h>
#ifdef __cplusplus
extern "C" {

View file

@ -1,14 +1,15 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <switch/types.h>
#include <switch/result.h>
#include <switch/kernel/mutex.h>
#include <switch/sf/service.h>
#include <switch/services/sm.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ServiceGuard {
Mutex mutex;
u32 refCount;

View file

@ -5,9 +5,7 @@
* @copyright libnx Authors
*/
#pragma once
#include <switch/types.h>
#include <switch/kernel/event.h>
#include <switch/services/sm.h>
#include <switch.h>
#ifdef __cplusplus
extern "C" {