mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Added explicit 'void' to function that takes no argument
This is the correct way to tell that a function takes no arguments, because an empty parameter list tells the compiler that it is not yet defined, and is tolerated only for compatibility with very old C compilers for whom prototypes were not yet a defined language element.
This commit is contained in:
committed by
Carlos R. Mafra
parent
a3281b1e89
commit
a622197faa
@@ -33,7 +33,7 @@
|
||||
|
||||
extern char *__progname;
|
||||
|
||||
void print_help()
|
||||
void print_help(void)
|
||||
{
|
||||
printf("Usage: %s [OPTIONS] [FILE]\n", __progname);
|
||||
puts("Copies data from FILE or stdin into X cut buffer.");
|
||||
|
||||
Reference in New Issue
Block a user