Ticket #3429: mc-fix-wstrict-prototypes-warning.patch
File mc-fix-wstrict-prototypes-warning.patch, 1.2 KB (added by and, 10 years ago) |
---|
-
m4.include/mc-cflags.m4
fix -Wstrict-prototypes compiler warnings and use compiler option for future compile checks Signed-off-by: Andreas Mohr <and@gmx.li>
a b 69 69 MC_CHECK_ONE_CFLAG([-Wshadow]) 70 70 MC_CHECK_ONE_CFLAG([-Wsign-compare]) 71 71 dnl MC_CHECK_ONE_CFLAG([-Wstrict-aliasing]) 72 MC_CHECK_ONE_CFLAG([-Wstrict-prototypes]) 72 73 MC_CHECK_ONE_CFLAG([-Wswitch]) 73 74 MC_CHECK_ONE_CFLAG([-Wtype-limits]) 74 75 MC_CHECK_ONE_CFLAG([-Wuninitialized]) -
src/background.c
a b 200 200 int (*non_have_ctx3) (file_op_context_t *, int, char *, char *, char *); 201 201 int (*non_have_ctx4) (file_op_context_t *, int, char *, char *, char *, char *); 202 202 203 char *(*ret_str0) ( );203 char *(*ret_str0) (void); 204 204 char *(*ret_str1) (char *); 205 205 char *(*ret_str2) (char *, char *); 206 206 char *(*ret_str3) (char *, char *, char *); -
src/subshell.c
a b 390 390 /* --------------------------------------------------------------------------------------------- */ 391 391 392 392 static void 393 init_raw_mode ( )393 init_raw_mode (void) 394 394 { 395 395 static int initialized = 0; 396 396