summaryrefslogtreecommitdiff
path: root/include/user/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/user/power.h')
-rw-r--r--include/user/power.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/user/power.h b/include/user/power.h
index b1a355d..f08564c 100644
--- a/include/user/power.h
+++ b/include/user/power.h
@@ -12,20 +12,20 @@ typedef void (*ScePowerCallback)(int unknown, int powerInfo);
/* prototypes */
int scePowerRegisterCallback(int slot, SceUID cbid);
-int scePowerIsBatteryCharging();
-int scePowerGetBatteryLifePercent();
+int scePowerIsBatteryCharging(void);
+int scePowerGetBatteryLifePercent(void);
int scePowerSetConfigurationMode(int mode); //?
-SceBool scePowerIsSuspendRequired(); //?
-int scePowerIsPowerOnline();
-int scePowerGetBatteryLifeTime();
-int scePowerGetBatteryRemainCapacity(); //?
-int scePowerIsLowBattery();
+SceBool scePowerIsSuspendRequired(void); //?
+int scePowerIsPowerOnline(void);
+int scePowerGetBatteryLifeTime(void);
+int scePowerGetBatteryRemainCapacity(void); //?
+int scePowerIsLowBattery(void);
int scePowerUnregisterCallback(int slot);
-int scePowerGetBatteryFullCapacity(); //?
-int scePowerGetArmClockFrequency(); //Get Clock Frequency of the ARM
-int scePowerGetBusClockFrequency(); //Get Clock Frequency of the BUS
-int scePowerGetGpuClockFrequency(); //Get Clock Frequency of the Gpu
-int scePowerGetGpuXbarClockFrequency(); //Get Clock Frequency of the Gpu Crossbar
+int scePowerGetBatteryFullCapacity(void); //?
+int scePowerGetArmClockFrequency(void); //Get Clock Frequency of the ARM
+int scePowerGetBusClockFrequency(void); //Get Clock Frequency of the BUS
+int scePowerGetGpuClockFrequency(void); //Get Clock Frequency of the Gpu
+int scePowerGetGpuXbarClockFrequency(void); //Get Clock Frequency of the Gpu Crossbar
int scePowerSetArmClockFrequency(int freq); // Set Clock Frequency of the ARM
int scePowerSetBusClockFrequency(int freq); // Set Clock Frequency of the BUS
int scePowerSetGpuClockFrequency(int freq); // Set Clock Frequency of the Gpu