From 56a11197c7543daa10e2cb27238d36b210e91a83 Mon Sep 17 00:00:00 2001 From: fincs Date: Fri, 10 Jun 2016 18:14:30 +0200 Subject: [PATCH] () -> (void) --- libctru/include/3ds/services/apt.h | 2 +- libctru/source/services/apt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }