File mp3_check-gcc10.patch of Package mp3_check

Index: mp3_check-1.98/Makefile
===================================================================
--- mp3_check-1.98.orig/Makefile
+++ mp3_check-1.98/Makefile
@@ -2,7 +2,7 @@
 
 CC ?= gcc
 LOCALBASE ?= /usr/local
-CFLAGS += -Wall -Werror
+CFLAGS += -Wall
 OPT_FLAGS = -L${LOCALBASE}/lib 
 OBJS = 	mp3_check.o \
 	mp3_check_misc.o
Index: mp3_check-1.98/mp3_check_misc.c
===================================================================
--- mp3_check-1.98.orig/mp3_check_misc.c
+++ mp3_check-1.98/mp3_check_misc.c
@@ -11,7 +11,7 @@
 #include "support_functions.h"
 
 //  Function prototypes go here. 
-inline int		move_to_next_frame(char *possible_mp3_tag, frame_info *mp3_i, gen_info *file_info, command_flags *flags, FILE *);
+extern inline int		move_to_next_frame(char *possible_mp3_tag, frame_info *mp3_i, gen_info *file_info, command_flags *flags, FILE *);
 int			get_char_from_file(FILE *, unsigned int *header_value, gen_info *file_info, command_flags *flags, char *possible_mp3_tag);
 int			scan_file(FILE *, char *filename, meta_options *flag_options, command_flags *flags);
 int			parse_args(char **argv, meta_options *flag_options, command_flags *flags);
openSUSE Build Service is sponsored by