Ticket #3428: mc-fix-wredundant-decls-warning.patch
File mc-fix-wredundant-decls-warning.patch, 1.6 KB (added by and, 10 years ago) |
---|
-
m4.include/mc-cflags.m4
fix -Wredundant-decls compiler warnings and use compiler option for future compile checks Signed-off-by: Andreas Mohr <and@gmx.li>
a b 62 62 MC_CHECK_ONE_CFLAG([-Wno-unreachable-code]) 63 63 MC_CHECK_ONE_CFLAG([-Wparentheses]) 64 64 MC_CHECK_ONE_CFLAG([-Wpointer-sign]) 65 MC_CHECK_ONE_CFLAG([-Wredundant-decls]) 65 66 MC_CHECK_ONE_CFLAG([-Wreturn-type]) 66 67 MC_CHECK_ONE_CFLAG([-Wsequence-point]) 67 68 MC_CHECK_ONE_CFLAG([-Wshadow]) -
lib/filehighlight/ini-file-read.c
a b 38 38 39 39 /*** global variables ****************************************************************************/ 40 40 41 extern mc_skin_t mc_skin__default;42 43 41 /*** file scope macro definitions ****************************************************************/ 44 42 45 43 /*** file scope type declarations ****************************************************************/ -
lib/skin/internal.h
a b 20 20 21 21 /*** global variables defined in .c file *********************************************************/ 22 22 23 extern mc_skin_t mc_skin__default;24 25 23 /*** declarations of public functions ************************************************************/ 26 24 27 25 gboolean mc_skin_ini_file_load (mc_skin_t *); -
lib/tty/tty-slang.c
a b 57 57 58 58 /*** global variables ****************************************************************************/ 59 59 60 extern int reset_hp_softkeys;61 62 60 /*** file scope macro definitions ****************************************************************/ 63 61 64 62 #ifndef SLTT_MAX_SCREEN_COLS