mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 16:00:39 +01:00
[v1.03] Add void to function declarations with no args. C99 Standard says in 6.7.5.3 that empty arguments are actually obsolescent - this commit fixes a warning in some compilers
This commit is contained in:
@@ -39,21 +39,21 @@ extern const char *args_str[];
|
||||
|
||||
#include "printer.h"
|
||||
|
||||
int max_arg_str_length();
|
||||
int max_arg_str_length(void);
|
||||
bool parse_args(int argc, char* argv[]);
|
||||
bool show_help();
|
||||
bool accurate_pp();
|
||||
bool show_full_cpu_name();
|
||||
bool show_logo_long();
|
||||
bool show_logo_short();
|
||||
bool show_logo_intel_new();
|
||||
bool show_logo_intel_old();
|
||||
bool show_raw();
|
||||
bool show_debug();
|
||||
bool show_version();
|
||||
bool verbose_enabled();
|
||||
bool show_help(void);
|
||||
bool accurate_pp(void);
|
||||
bool show_full_cpu_name(void);
|
||||
bool show_logo_long(void);
|
||||
bool show_logo_short(void);
|
||||
bool show_logo_intel_new(void);
|
||||
bool show_logo_intel_old(void);
|
||||
bool show_raw(void);
|
||||
bool show_debug(void);
|
||||
bool show_version(void);
|
||||
bool verbose_enabled(void);
|
||||
void free_colors_struct(struct color** cs);
|
||||
struct color** get_colors();
|
||||
STYLE get_style();
|
||||
struct color** get_colors(void);
|
||||
STYLE get_style(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user