--- tar-1.19.orig/lib/argp-fmtstream.h +++ tar-1.19/lib/argp-fmtstream.h @@ -198,7 +198,11 @@ #endif #ifndef ARGP_FS_EI -#define ARGP_FS_EI extern inline + #if defined __GNUC_STDC_INLINE__ + #define ARGP_FS_EI extern inline __attribute__((__gnu_inline__)) + #else + #define ARGP_FS_EI extern inline + #endif #endif ARGP_FS_EI size_t only in patch2: unchanged: --- tar-1.19.orig/lib/argp.h +++ tar-1.19/lib/argp.h @@ -580,7 +580,11 @@ # endif # ifndef ARGP_EI -# define ARGP_EI extern __inline__ +# if defined __GNUC_STDC_INLINE__ +# define ARGP_EI extern __inline__ __attribute__((__gnu_inline__)) +# else +# define ARGP_EI extern __inline__ +# endif # endif ARGP_EI void