From 9bf546da452c4e62bc0ad52c143cf029703c2d17 Mon Sep 17 00:00:00 2001 From: fincs Date: Wed, 9 Sep 2015 01:47:30 +0200 Subject: [PATCH] () -> (void), again --- libctru/include/3ds/services/cam.h | 8 ++++---- libctru/source/services/cam.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libctru/include/3ds/services/cam.h b/libctru/include/3ds/services/cam.h index c0fde59..1158369 100644 --- a/libctru/include/3ds/services/cam.h +++ b/libctru/include/3ds/services/cam.h @@ -286,14 +286,14 @@ typedef struct { * * This will internally get the handle of the service, and on success call CAMU_DriverInitialize. */ -Result camInit(); +Result camInit(void); /** * @brief Closes the cam service. * * This will internally call CAMU_DriverFinalize and close the handle of the service. */ -Result camExit(); +Result camExit(void); /// Begins capture on the specified camera port. Result CAMU_StartCapture(CAMU_Port port); @@ -543,10 +543,10 @@ Result CAMU_GetSuitableY2rStandardCoefficient(Y2R_StandardCoefficient* coefficie Result CAMU_PlayShutterSound(CAMU_ShutterSoundType sound); ///Initializes the camera driver. -Result CAMU_DriverInitialize(); +Result CAMU_DriverInitialize(void); ///Finalizes the camera driver. -Result CAMU_DriverFinalize(); +Result CAMU_DriverFinalize(void); /** * @brief Gets the current activated camera. diff --git a/libctru/source/services/cam.c b/libctru/source/services/cam.c index ea1ffc5..7544cff 100644 --- a/libctru/source/services/cam.c +++ b/libctru/source/services/cam.c @@ -7,7 +7,7 @@ Handle camHandle; static bool initialized = false; -Result camInit() { +Result camInit(void) { Result ret = 0; if (initialized) return 0; @@ -25,7 +25,7 @@ Result camInit() { return 0; } -Result camExit() { +Result camExit(void) { Result ret = 0; if (initialized) @@ -678,7 +678,7 @@ Result CAMU_PlayShutterSound(CAMU_ShutterSoundType sound) { return cmdbuf[1]; } -Result CAMU_DriverInitialize() { +Result CAMU_DriverInitialize(void) { Result ret = 0; u32* cmdbuf = getThreadCommandBuffer(); cmdbuf[0] = 0x00390000; @@ -687,7 +687,7 @@ Result CAMU_DriverInitialize() { return cmdbuf[1]; } -Result CAMU_DriverFinalize() { +Result CAMU_DriverFinalize(void) { Result ret = 0; u32* cmdbuf = getThreadCommandBuffer(); cmdbuf[0] = 0x003A0000;