From: fincs Date: Fri, 10 Jun 2016 16:14:30 +0000 (+0200) Subject: () -> (void) X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=56a11197c7543daa10e2cb27238d36b210e91a83;p=corbenik%2Fctrulib.git () -> (void) --- diff --git a/libctru/include/3ds/services/apt.h b/libctru/include/3ds/services/apt.h index ae961e8..add0bdd 100644 --- a/libctru/include/3ds/services/apt.h +++ b/libctru/include/3ds/services/apt.h @@ -139,7 +139,7 @@ void aptSignalReadyForSleep(void); * @brief Gets whether to allow the system to enter sleep mode. * @return Whether sleep mode is allowed. */ -bool aptIsSleepAllowed(); +bool aptIsSleepAllowed(void); /** * @brief Sets whether to allow the system to enter sleep mode. diff --git a/libctru/source/services/apt.c b/libctru/source/services/apt.c index 688c16e..1d19167 100644 --- a/libctru/source/services/apt.c +++ b/libctru/source/services/apt.c @@ -719,7 +719,7 @@ void aptSignalReadyForSleep(void) svcSignalEvent(aptSleepSync); } -bool aptIsSleepAllowed() +bool aptIsSleepAllowed(void) { return aptSleepAllowed; }