We live in modern world and have ANSI C here. Plus, nothing defines ANSI_PROTOTYPES Include unconditionally Closes: https://bugs.gentoo.org/713314 Closes: https://bugs.gentoo.org/896432 --- a/lib/argv.c +++ b/lib/argv.c @@ -52,25 +52,10 @@ /* Routines imported from standard C runtime libraries. */ -#ifdef ANSI_PROTOTYPES - #include #include #include -#else /* !ANSI_PROTOTYPES */ - -#if !defined _WIN32 || defined __GNUC__ -extern char *memcpy (); /* Copy memory region */ -extern int strlen (); /* Count length of string */ -extern char *malloc (); /* Standard memory allocater */ -extern char *realloc (); /* Standard memory reallocator */ -extern void free (); /* Free malloc'd memory */ -extern char *strdup (); /* Duplicate a string */ -#endif - -#endif /* ANSI_PROTOTYPES */ - #ifndef NULL #define NULL 0 --- a/lib/ripstream.c +++ b/lib/ripstream.c @@ -714,7 +714,7 @@ char bigbuf[HEADER_SIZE] = ""; ID3V2frame id3v2frame; #ifndef WIN32 - __uint32_t framesize = 0; + uint32_t framesize = 0; #else unsigned long int framesize = 0; #endif