mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Use strict function prototypes
int foo(); declares a function taking any number of arguments.
This commit is contained in:

committed by
cgzones

parent
7107d1db0b
commit
c3952e7c20
4
htop.c
4
htop.c
@ -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"
|
||||
|
Reference in New Issue
Block a user