Bladeren bron

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 jaren geleden
bovenliggende
commit
59391a97fe
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      src/main.c

+ 2 - 2
src/main.c

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