diff --git a/libstratosphere/source/ams/ams_bpc.h b/libstratosphere/source/ams/ams_bpc.h index 93da6309..f6825c41 100644 --- a/libstratosphere/source/ams/ams_bpc.h +++ b/libstratosphere/source/ams/ams_bpc.h @@ -15,9 +15,7 @@ */ #pragma once -#include -#include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/libstratosphere/source/dmnt/dmntcht.h b/libstratosphere/source/dmnt/dmntcht.h index ef19824e..62f89573 100644 --- a/libstratosphere/source/dmnt/dmntcht.h +++ b/libstratosphere/source/dmnt/dmntcht.h @@ -15,9 +15,7 @@ */ #pragma once -#include -#include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/libstratosphere/source/service_guard.h b/libstratosphere/source/service_guard.h index 588a0c99..d7ce9a7a 100644 --- a/libstratosphere/source/service_guard.h +++ b/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/libstratosphere/source/sm/sm_ams.h b/libstratosphere/source/sm/sm_ams.h index 3036cde9..6bdf435b 100644 --- a/libstratosphere/source/sm/sm_ams.h +++ b/libstratosphere/source/sm/sm_ams.h @@ -5,9 +5,7 @@ * @copyright libnx Authors */ #pragma once -#include -#include -#include +#include #ifdef __cplusplus extern "C" {