]> Chaos Git - corbenik/ctrulib.git/commitdiff
() -> (void), again
authorfincs <fincs.alt1@gmail.com>
Tue, 8 Sep 2015 23:47:30 +0000 (01:47 +0200)
committerfincs <fincs.alt1@gmail.com>
Tue, 8 Sep 2015 23:47:30 +0000 (01:47 +0200)
libctru/include/3ds/services/cam.h
libctru/source/services/cam.c

index c0fde590eb4e90abe53a16d023c71e4d6084b76d..1158369fe23ad760f9a7b9fe714d472045c4910f 100644 (file)
@@ -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.
index ea1ffc5a495a0b083a32a1a610e7b0f746cf9307..7544cff39dad8465bafcfb689005dded7a3cae85 100644 (file)
@@ -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;