Browse Source

Fix compiler error with clang

This fixes the following
error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
Biswapriyo Nath 2 years ago
parent
commit
59391a97fe
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main.c

+ 2 - 2
src/main.c

@@ -2474,7 +2474,7 @@ show_settings_dialog(void)
 
 
 
 
 static void
 static void
-change_password_file()
+change_password_file(void)
 {
 {
 	/* Parameter for size/format tuning of the dialog */
 	/* Parameter for size/format tuning of the dialog */
 	short HEIGHT = 15;
 	short HEIGHT = 15;
@@ -2685,7 +2685,7 @@ sysinfo_reload(struct dlg_proc_param *prm)
 
 
 
 
 int
 int
-show_system_info()
+show_system_info(void)
 {
 {
 	/* Parameter for size/format tuning of the dialog */
 	/* Parameter for size/format tuning of the dialog */
 	short HEIGHT = 15;
 	short HEIGHT = 15;