On Wed, May 14, 2025 at 3:20 PM Andreas Schwab <sch...@suse.de> wrote:
Looks obvious to me. Richard. > * libiberty.h (mkstemps): Remove duplicate. > --- > include/libiberty.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/include/libiberty.h b/include/libiberty.h > index d4e8791b14b..4ec9b9afd17 100644 > --- a/include/libiberty.h > +++ b/include/libiberty.h > @@ -215,10 +215,6 @@ extern int ffs(int); > extern int mkstemps(char *, int); > #endif > > -#if defined (HAVE_DECL_MKSTEMPS) && !HAVE_DECL_MKSTEMPS > -extern int mkstemps(char *, int); > -#endif > - > /* Make memrchr available on systems that do not have it. */ > #if !defined (__GNU_LIBRARY__ ) && !defined (__linux__) && \ > !defined (HAVE_MEMRCHR) > -- > 2.49.0 > > > -- > Andreas Schwab, SUSE Labs, sch...@suse.de > GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 > "And now for something completely different."