coding style: prototype of functions with no parameters
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 6 May 2019 10:31:57 +0000 (12:31 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 9 May 2020 13:39:59 +0000 (14:39 +0100)
commit3474aa223a712ac848a8a8e58633106477db0641
tree79cec7b3cc4dd4a88cdbd36dfad2844b489ffe9c
parent185834ef8aa663faf6761e5c3d7c4a049c88eeab
coding style: prototype of functions with no parameters

Functions that have no parameters should use "void" as parameter
in the function declaration.

Issue identified and fixed by script checkpatch from Linux kernel
v5.1 using the command

find src/ -type f -exec ./tools/scripts/checkpatch.pl \
-q --types FUNCTION_WITHOUT_ARGS --fix-inplace -f {} \;

Change-Id: If104ac75b44e939ec86155ff7b5720f2e33c6b39
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5621
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
src/helper/log.c
src/jtag/core.c
src/jtag/drivers/arm-jtag-ew.c
src/jtag/interface.c
src/jtag/minidummy/minidummy.c
src/jtag/zy1000/zy1000.c