Explicitly add void to the argument list of zero argument functions.

This commit is contained in:
László Monda
2017-09-28 03:03:11 +02:00
parent ecf1ad2468
commit 751810ec4c
36 changed files with 49 additions and 50 deletions

View File

@@ -1,7 +1,7 @@
#include "reset_button.h"
#include "fsl_port.h"
void InitResetButton() {
void InitResetButton(void) {
CLOCK_EnableClock(RESET_BUTTON_CLOCK);
PORT_SetPinConfig(RESET_BUTTON_PORT, RESET_BUTTON_PIN,
&(port_pin_config_t){.pullSelect=kPORT_PullUp, .mux=kPORT_MuxAsGpio});