diff --git a/libraries/libstratosphere/source/ams/ams_bpc.h b/libraries/libstratosphere/source/ams/ams_bpc.h index 93da63092..f6825c418 100644 --- a/libraries/libstratosphere/source/ams/ams_bpc.h +++ b/libraries/libstratosphere/source/ams/ams_bpc.h @@ -15,9 +15,7 @@ */ #pragma once -#include -#include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/libraries/libstratosphere/source/dmnt/dmntcht.h b/libraries/libstratosphere/source/dmnt/dmntcht.h index ef19824e0..62f895736 100644 --- a/libraries/libstratosphere/source/dmnt/dmntcht.h +++ b/libraries/libstratosphere/source/dmnt/dmntcht.h @@ -15,9 +15,7 @@ */ #pragma once -#include -#include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/libraries/libstratosphere/source/service_guard.h b/libraries/libstratosphere/source/service_guard.h index 588a0c995..d7ce9a7a9 100644 --- a/libraries/libstratosphere/source/service_guard.h +++ b/libraries/libstratosphere/source/service_guard.h @@ -1,14 +1,15 @@ #pragma once + +#ifdef __cplusplus +extern "C" { +#endif + #include #include #include #include #include -#ifdef __cplusplus -extern "C" { -#endif - typedef struct ServiceGuard { Mutex mutex; u32 refCount; diff --git a/libraries/libstratosphere/source/sm/sm_ams.h b/libraries/libstratosphere/source/sm/sm_ams.h index 3036cde94..6bdf435b4 100644 --- a/libraries/libstratosphere/source/sm/sm_ams.h +++ b/libraries/libstratosphere/source/sm/sm_ams.h @@ -5,9 +5,7 @@ * @copyright libnx Authors */ #pragma once -#include -#include -#include +#include #ifdef __cplusplus extern "C" {