Use strict function prototypes

int foo(); declares a function taking any number of arguments.
This commit is contained in:
Christian Göttsche
2020-09-08 14:28:34 +02:00
committed by cgzones
parent 7107d1db0b
commit c3952e7c20
16 changed files with 32 additions and 32 deletions

4
htop.c
View File

@ -29,12 +29,12 @@ in the source distribution for its full text.
//#link m
static void printVersionFlag() {
static void printVersionFlag(void) {
fputs("htop " VERSION "\n", stdout);
exit(0);
}
static void printHelpFlag() {
static void printHelpFlag(void) {
fputs("htop " VERSION "\n"
"Released under the GNU GPL.\n\n"
"-C --no-color Use a monochrome color scheme\n"