mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-23 04:12:02 +00:00
strat: fix inclusion/ordering for some c headers
This commit is contained in:
parent
51b5c3d87d
commit
7658c07492
4 changed files with 8 additions and 13 deletions
|
@ -15,9 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <switch/types.h>
|
#include <switch.h>
|
||||||
#include <switch/kernel/event.h>
|
|
||||||
#include <switch/services/sm.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -15,9 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <switch/types.h>
|
#include <switch.h>
|
||||||
#include <switch/kernel/event.h>
|
|
||||||
#include <switch/services/sm.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <switch/types.h>
|
#include <switch/types.h>
|
||||||
#include <switch/result.h>
|
#include <switch/result.h>
|
||||||
#include <switch/kernel/mutex.h>
|
#include <switch/kernel/mutex.h>
|
||||||
#include <switch/sf/service.h>
|
#include <switch/sf/service.h>
|
||||||
#include <switch/services/sm.h>
|
#include <switch/services/sm.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct ServiceGuard {
|
typedef struct ServiceGuard {
|
||||||
Mutex mutex;
|
Mutex mutex;
|
||||||
u32 refCount;
|
u32 refCount;
|
||||||
|
|
|
@ -5,9 +5,7 @@
|
||||||
* @copyright libnx Authors
|
* @copyright libnx Authors
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <switch/types.h>
|
#include <switch.h>
|
||||||
#include <switch/kernel/event.h>
|
|
||||||
#include <switch/services/sm.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
Loading…
Reference in a new issue